# Rendering other sections than "post"?

**URL:** <https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160>\
**Category:** support\
**Created:** [September 24, 2016, 6:39pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160 "2016-09-24T18:39:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aik](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/aik/32/2069_2.png) [@aik](https://discourse.gohugo.io/u/aik)\
**Post date:** [September 24, 2016, 6:39pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/1 "2016-09-24T18:39:32Z")

</div>

Ahoi!

I’m looking for a way to render multiple sections.  
If I run **hugo new post/some\_post.md** it will be rendered, but when I add **hugo new some\_section/some\_post.md** it won’t.

I’m sure there must be a simple way to add new sections, but I’m realy stuck here (kind of embarassing - but tried everything that came to my mind and loooked and googled for it all day…).

---

<div class="post-metadata">

**Author:** ![farazfazli](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@farazfazli](https://discourse.gohugo.io/u/farazfazli)\
**Post date:** [September 24, 2016, 8:19pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/2 "2016-09-24T20:19:37Z")

</div>

Hey @aik, do you have a layout file for some\_section?

---

<div class="post-metadata">

**Author:** ![aik](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/aik/32/2069_2.png) [@aik](https://discourse.gohugo.io/u/aik)\
**Post date:** [September 24, 2016, 8:23pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/3 "2016-09-24T20:23:09Z")

</div>

Hey @farazfazli - ty for fast reply =)

No – but I neigther have for “post”.  
Is it a matter of just having some file in /layouts/some\_section.html?  
Is there a simple example how such file has to be populated?

---

<div class="post-metadata">

**Author:** ![farazfazli](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@farazfazli](https://discourse.gohugo.io/u/farazfazli)\
**Post date:** [September 24, 2016, 9:28pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/4 "2016-09-24T21:28:03Z")

</div>

Yup, see [https://gohugo.io/content/sections/](https://gohugo.io/content/sections/)

---

<div class="post-metadata">

**Author:** ![aik](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/aik/32/2069_2.png) [@aik](https://discourse.gohugo.io/u/aik)\
**Post date:** [September 24, 2016, 9:53pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/5 "2016-09-24T21:53:07Z")

</div>

I was on that page very often - still don’t get it ☹  
It seems as if you could just create [xyz.md](http://xyz.md) and subfolders of content are treated as sections automaticly (using /layouts/\_default/list.html [??])?  
I copyed that file to /layouts/section/aud.html - no difference…

And: How’s content in /content/post/ rendered then? There’s no special file for it in /layouts… or anywere else as far as I can tell.

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [September 24, 2019, 12:31pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/6 "2019-09-24T12:31:10Z")

</div>

Split this topic on September 24, 2019, 12:31pm UTC

4 posts were split to a new topic: [How to render contents of section \_index.md and child pages](https://discourse.gohugo.io/t/how-to-render-contents-of-section-index-md-and-child-pages/20948)

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [September 24, 2019, 12:32pm UTC](https://discourse.gohugo.io/t/rendering-other-sections-than-post/4160/7 "2019-09-24T12:32:32Z")

</div>

Closed on September 24, 2019, 12:32pm UTC


