# Hugo not generating some pages and giving 404

**URL:** <https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982>\
**Category:** support\
**Created:** [April 24, 2020, 3:30am UTC](https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982 "2020-04-24T03:30:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nehiljain](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nehiljain/32/11167_2.png) [@nehiljain](https://discourse.gohugo.io/u/nehiljain)\
**Post date:** [April 24, 2020, 3:30am UTC](https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982/1 "2020-04-24T03:30:24Z")

</div>

I am using Hugo Osprey Theme and only my about page is rendering

Site Code: [https://github.com/nehiljain/nehil-site-v2](https://github.com/nehiljain/nehil-site-v2)

## Currently:

[https://nehiljain.com/lists](https://nehiljain.com/lists) - Doesn’t work

Hugo env:  
Hugo Static Site Generator v0.69.0/extended darwin/amd64 BuildDate: unknown  
GOOS=“darwin”  
GOARCH=“amd64”  
GOVERSION=“go1.14.2”

I checked the public folder and the folder ‘lists’ was not present so my guess is that something is wrong in the generation process.

---

<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:** [April 24, 2020, 4:48am UTC](https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982/2 "2020-04-24T04:48:57Z")

</div>

You set `draft: true` for those articles.

If you want to build all the drafts, use `hugo -D`. or just set the `draft` to `false` on those articles.

---

<div class="post-metadata">

**Author:** ![nehiljain](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nehiljain/32/11167_2.png) [@nehiljain](https://discourse.gohugo.io/u/nehiljain)\
**Post date:** [April 24, 2020, 1:00pm UTC](https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982/3 "2020-04-24T13:00:14Z")

</div>

Shit… my bad. 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:** [April 26, 2020, 1:00pm UTC](https://discourse.gohugo.io/t/hugo-not-generating-some-pages-and-giving-404/24982/4 "2020-04-26T13:00:18Z")

</div>

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