# Help understanding content management and page bundles

**URL:** <https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304>\
**Category:** support\
**Created:** [March 28, 2020, 4:53pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304 "2020-03-28T16:53:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccsmall](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ccsmall/32/10908_2.png) [@ccsmall](https://discourse.gohugo.io/u/ccsmall)\
**Post date:** [March 28, 2020, 4:53pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/1 "2020-03-28T16:53:45Z")

</div>

I’m confused.

I have a content folder with a post folder in it where I would like to organize my posts into page bundles.

I create a directory like content/post/super-cool-post and maybe an images directory as well content/post/super-cool-post/images then I run hugo new post/supercool-post/postname.md and change the post to not be draft.

I run hugo and I check the site and I don’t see the post. I tried adding a index.md file to the content/post/super-cool-post folder but I’m not sure what the content of the index.md file should be… no matter what I try it still doesn’t make the post show up.

If I create a post like hugo new post/postname.md it works fine.

---

<div class="post-metadata">

**Author:** ![tea](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@tea](https://discourse.gohugo.io/u/tea)\
**Post date:** [March 28, 2020, 5:59pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/2 "2020-03-28T17:59:53Z")

</div>

Create an `_index.md` file in your `content/post/super-cool-post` and you can just add something like this to front matter:

```
---
title: "index"
date: 2020-03-27T19:41:39+01:00
draft: true
---

This is template in super-cool-post folder.

```

Also check out this video:

https://www.youtube.com/embed/0GZxidrlaRM?feature=oembed&wmode=opaque&list=PLLAZ4kZ9dFpOnyRlyS-liKL5ReHDcj4G3

I think it explains just whats you need.

---

<div class="post-metadata">

**Author:** ![ccsmall](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ccsmall/32/10908_2.png) [@ccsmall](https://discourse.gohugo.io/u/ccsmall)\
**Post date:** [March 28, 2020, 6:19pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/3 "2020-03-28T18:19:47Z")

</div>

Thanks. I watched that video last night.

Why would I use \_index.md vs index.md? I’m not fully clear.

---

<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:** [March 28, 2020, 6:34pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/4 "2020-03-28T18:34:03Z")

</div>

In Hugo they mean different things. Check the table explaining them on the page bundles docs.

---

<div class="post-metadata">

**Author:** ![ccsmall](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ccsmall/32/10908_2.png) [@ccsmall](https://discourse.gohugo.io/u/ccsmall)\
**Post date:** [March 28, 2020, 6:40pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/5 "2020-03-28T18:40:39Z")

</div>

Thanks. I read that page as well but maybe I’m just not grasping it.

If someone could explain the difference and use cases of each in a couple sentences or something maybe that would help me have that ah ha moment 🙂

---

<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:** [March 28, 2020, 7:15pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/6 "2020-03-28T19:15:23Z")

</div>

The way it works is: you have a specific issue and you share your repo so we can see your entire configuration and then we understand what you are trying to do (or ask questions for clarification).

I want to explain to you the difference between “leaf” and “branch” bundles beyond what’s written at [Page bundles | Hugo](https://gohugo.io/content-management/page-bundles/#readout)

> | | Leaf Bundle | Branch Bundle |
> | --- | --- | --- |
> | Usage | Collection of content and attachments for single pages | Collection of attachments for section pages (home page, section, taxonomy terms, taxonomy list) |

I would use your setup as an example, but I don’t know which you are trying to do. So please share your work. 🙂

---

<div class="post-metadata">

**Author:** ![ccsmall](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ccsmall/32/10908_2.png) [@ccsmall](https://discourse.gohugo.io/u/ccsmall)\
**Post date:** [March 29, 2020, 3:08am UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/7 "2020-03-29T03:08:02Z")

</div>

Thank you. I think I figured it out in the hours since I posted the question.

---

<div class="post-metadata">

**Author:** ![ccsmall](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ccsmall/32/10908_2.png) [@ccsmall](https://discourse.gohugo.io/u/ccsmall)\
**Post date:** [March 30, 2020, 12:18pm UTC](https://discourse.gohugo.io/t/help-understanding-content-management-and-page-bundles/24304/8 "2020-03-30T12:18:28Z")

</div>

For anyone else that needs clarification, my issue was I was not using index.md as my page for the page bundle but rather trying to configure additional .md files as my page.

This worked with a \_index.md file but not index.md.

So the answer is to use index.md as your page bundle page.
