# Hugo won't pick up content page

**URL:** <https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543>\
**Category:** support\
**Created:** [November 19, 2022, 6:36pm UTC](https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543 "2022-11-19T18:36:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skipper6316](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/skipper6316/32/18223_2.png) [@Skipper6316](https://discourse.gohugo.io/u/Skipper6316)\
**Post date:** [November 19, 2022, 6:36pm UTC](https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543/1 "2022-11-19T18:36:10Z")

</div>

Hello,

I’m trying to create a very basic theme and I’m currently trying to add multiple pages to the site but Hugo won’t pick them up. If I run the `hugo` command the `about` page is not generated, I’m trying to reach it at /about but I instead of the content the 404 page is rendered.

I tried running `hugo -DEF` so it ignores non published files etc. but that didn’t do the trick. I also tried adding a new page using the command `hugo new about/index.html` but it resulted in the same.

I’m probably missing something pretty basic here.

See this repo [GitHub repo](https://github.com/Procee/hugo-issue)

Thank you for your time!

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [November 19, 2022, 7:17pm UTC](https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543/2 "2022-11-19T19:17:09Z")

</div>

Both your single and list templates are empty.

---

<div class="post-metadata">

**Author:** ![Skipper6316](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/skipper6316/32/18223_2.png) [@Skipper6316](https://discourse.gohugo.io/u/Skipper6316)\
**Post date:** [November 19, 2022, 7:25pm UTC](https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543/3 "2022-11-19T19:25:20Z")

</div>

I’ve added this to the single template and now it works.

```auto
{{ define "main" }}
{{ .Content }}
{{ end }}

```

Thank you so much.

---

<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:** [November 21, 2022, 7:25pm UTC](https://discourse.gohugo.io/t/hugo-wont-pick-up-content-page/41543/4 "2022-11-21T19:25:53Z")

</div>

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