Some time ago I was faced with such a problem. I have tried to add a new post to my Jekyll website, but I could not see it on the generated pages when I run jekyll serve. So what are the some common reasons for a Jekyll post to not be generated?
The post is not placed in the
The post has incorrect name of file. Posts should be named
YEAR-MONTH-DAY-title.MARKUP. For example
The post’s date is in the future and the
future: truedirective is enabled. Jekyll recognises future posts and will not display them until that time is reached.
Time zones. Same probleme as with future date, but you set the current time. Maybe time zone is set to UTC. Try to set the time zone of your region.
The post has
published: falsedirective in its front matter. Set it to
Incorrect characters in the title. Most likely its contains a double colon (
:) character. Just replace it with
Can be browser cache as well if you are looking not in the
_sitefolder but directly on the blog’s main page with the list of posts.
By the way, there are a million other reasons why your post might not show up.
If this article has helped you then please leave a comment
Thanks for reading!