Content not displaying when hosting on Netlify

I just create a new Hugo website and host it on Netlify. The codebase is here Everything seems ok, but the content is not displaying.

the link You share is not found

Fixed

not fixed :slight_smile:

Your content has draft=true. So, to tell Hugo you want draft content processed, you need to set:

hugo -D

on Netlify’s build settings.

1 Like

Another way to do what @sjardim mentioned is to edit the command in your netlify.toml file like this

[build]
publish = "public"
command = "hugo -D"

Or, depending on what you want, you could just set your content front matter to draft: false

2 Likes

Thank you guys :smiley: Issue solved.