How to add content/posts on public folder?

I need to host my hugo blog on GitHub Pages, but posts are not generated on public folder.

With a sample repo we can help you. Without any more information other than “it’s not working” it’s all fishing in the darkness.

My guess:

  • you have frontmatter draft: true in your post which results in the content not being published.

yes thx, that was the problem, thx a lot.

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