# How do I get different top level folders to build?

**URL:** <https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939>\
**Category:** Uncategorized\
**Created:** [December 21, 2018, 10:41pm UTC](https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939 "2018-12-21T22:41:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![acgetchell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/acgetchell/32/7495_2.png) [@acgetchell](https://discourse.gohugo.io/u/acgetchell)\
**Post date:** [December 21, 2018, 10:41pm UTC](https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939/1 "2018-12-21T22:41:20Z")

</div>

I can do a `hugo new posts/mypost.md` and get a page to appear in /posts/ and on the front page.

How do I do the same for `hugo new archives/archived_post.md`?

And I made `about/_index.md`, which shows up on the local server, but not the one on GitHub.

`draft: false` is set for both pages. None of the folders in the `content` directory are being built, except `posts`.

Repo here: [https://github.com/ucdavis/insecure/](https://github.com/ucdavis/insecure/)

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [December 22, 2018, 12:32am UTC](https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939/2 "2018-12-22T00:32:25Z")

</div>

> [@acgetchell](#):
>
> How do I do the same for `hugo new archives/archived_post.md` ?

That is determined by the theme. Your theme puts posts on the front page, and uses a section called posts. You can track down the portion of the theme that generates your front page and modify the range to include content aside from those in the posts section.

> [@acgetchell](#):
>
> And I made `about/_index.md` , which shows up on the local server, but not the one on GitHub.

It shows up for me as well, but it wasn’t included in your commit to the gh-pages branch. However you are generating that (looks like a script), try running through it manually.

---

<div class="post-metadata">

**Author:** ![acgetchell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/acgetchell/32/7495_2.png) [@acgetchell](https://discourse.gohugo.io/u/acgetchell)\
**Post date:** [December 22, 2018, 1:53am UTC](https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939/3 "2018-12-22T01:53:18Z")

</div>

Thanks. I ran the script commands manually, and then it worked.

Then I made changes and ran the script, and it still worked.

Also, I’ve been poling around the ananke theme about the customization points you mentioned. It seems that it’s not the most customizable theme, so I’ll ask for further suggestions.

As far as I’ve been able to tell, all top level folders should be rendered via `SectionPagesMenu = "main"`.

> **[Content Sections](https://gohugo.io/content-management/sections/)**
>
> Hugo generates a \*\*section tree\*\* that matches your content.

Clearly, that’s incorrect, but I’m not sure where to look. I created a new `archives` folder under `layouts` and copied the contents of `layouts\posts`, but that had no effect.

---

<div class="post-metadata">

**Author:** ![acgetchell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/acgetchell/32/7495_2.png) [@acgetchell](https://discourse.gohugo.io/u/acgetchell)\
**Post date:** [December 22, 2018, 4:54am UTC](https://discourse.gohugo.io/t/how-do-i-get-different-top-level-folders-to-build/15939/4 "2018-12-22T04:54:33Z")

</div>

And, fixed.

I’d left off the ‘md’ for my file on the end. Very important!

[https://insecure.ucdavis.edu/archives/](https://insecure.ucdavis.edu/archives/)
