# Almost no output rendered

**URL:** <https://discourse.gohugo.io/t/almost-no-output-rendered/28979>\
**Category:** support\
**Created:** [October 22, 2020, 2:12pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979 "2020-10-22T14:12:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan\_at\_gohugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jan_at_gohugo/32/12571_2.png) [@jan\_at\_gohugo](https://discourse.gohugo.io/u/jan_at_gohugo)\
**Post date:** [October 22, 2020, 2:12pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/1 "2020-10-22T14:12:42Z")

</div>

Ok, so I am trying to make sense of it all and creating an own theme did help there. All went well up to the point, where suddenly no posts showed up on my homepage, no content and /posts gives a 404. I am totally lost here. It must be something very basic I am missing. Unfortunately I am getting no error messages or anything that would help me to get to the bottom of this. So I ask for help 🙂

See for yourself: [https://github.com/janlimpens/hugo-theme-basedoff.git](https://github.com/janlimpens/hugo-theme-basedoff.git)

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [October 22, 2020, 2:27pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/2 "2020-10-22T14:27:48Z")

</div>

Both of your posts under `/content/posts/` have `draft = true`

If you created these by using the `hugo new` command, know that by default it sets the `draft` parameter.

---

<div class="post-metadata">

**Author:** ![jan\_at\_gohugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jan_at_gohugo/32/12571_2.png) [@jan\_at\_gohugo](https://discourse.gohugo.io/u/jan_at_gohugo)\
**Post date:** [October 22, 2020, 2:31pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/3 "2020-10-22T14:31:52Z")

</div>

@onedrawingperday, I run the site with hugo server -D, so from my understanding in development mode it should show these pages - and in the past it did.  
However, I set draft to false, and they still won’t show up. About, ideas - all 404.

---

<div class="post-metadata">

**Author:** ![pamubay](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pamubay/32/17838_2.png) [@pamubay](https://discourse.gohugo.io/u/pamubay)\
**Post date:** [October 22, 2020, 2:34pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/4 "2020-10-22T14:34:27Z")

</div>

rename `content/index.md` to `content/_index.md`

Page Bundles documentation

> **[Page Bundles](https://gohugo.io/content-management/page-bundles/)**
>
> Content organization using Page Bundles

---

<div class="post-metadata">

**Author:** ![jan\_at\_gohugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jan_at_gohugo/32/12571_2.png) [@jan\_at\_gohugo](https://discourse.gohugo.io/u/jan_at_gohugo)\
**Post date:** [October 22, 2020, 2:42pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/5 "2020-10-22T14:42:48Z")

</div>

Ah right, I must have forgotten about this!

So, basically if I want to use the list layout, I use \_index.md and if I want to use single layout index.md, right?

Can I access any content in list.html? {{.Content}} does not seem to work…

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [October 22, 2020, 2:49pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/6 "2020-10-22T14:49:35Z")

</div>

> [@jan\_at\_gohugo](#):
>
> Can I access any content in list.html? {{.Content}} does not seem to work…

On list pages the `.Content` variable is available from within the context of a given section’s `.Pages`

Have a look at:

> **[Lists of content in Hugo](https://gohugo.io/templates/lists/#what-is-a-list-page-template)**
>
> Lists have a specific meaning and usage in Hugo when it comes to rendering your site homepage, section page, taxonomy list, or taxonomy terms list.

---

<div class="post-metadata">

**Author:** ![jan\_at\_gohugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jan_at_gohugo/32/12571_2.png) [@jan\_at\_gohugo](https://discourse.gohugo.io/u/jan_at_gohugo)\
**Post date:** [October 22, 2020, 2:54pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/7 "2020-10-22T14:54:14Z")

</div>

Ah, damnit, I was running server without -D and all this draft settings kicked in. I think, I got it running now again, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [October 24, 2020, 2:54pm UTC](https://discourse.gohugo.io/t/almost-no-output-rendered/28979/8 "2020-10-24T14:54:16Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
