Serve_site() working but posts dont show up on github.io

In your repo, i can see you have a draft = true in the yaml header of your post.

When you serve your site locally during development, draft post are rendered. When you build it with build_site, they are not rendered. I think this is why it does not appear in the index page. Just put draft = false.

see documentation about YAML metadata

4 Likes