Blog posts are not build correctly unless `hugo server` is used

When on my local machine i can use hugo server and then ctrl+s a post for it to be rebuild but if i clear the public directory and then run just hugo it won’t build the posts and just builds the index page.

Failed Build github pages yaml · tomasz-brak/blog@8fac059 · GitHub
Code: GitHub - tomasz-brak/blog: My personal Blog with HUGO

Rename your home page files from index.md to _index.md.

See:

https://gohugo.io/troubleshooting/faq/#why-cant-i-see-any-of-a-pages-descendants

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