I am trying to add a new post to my Jekyll site, but I cannot see it on the generated pages when I run jekyll serve
.
What are some common reasons for a Jekyll post to not be generated?
The post is not placed in the _posts
directory.
collections_dir
in your config from .
(default) to my_col_folder
all your posts have to move in my_col_folder/_posts
as well jekyll defaultsThe post has an incorrect title.
YEAR-MONTH-DAY-title.MARKUP
(Note the MARKUP
extension, which is usually .md
or .markdown
)The post's date is in the future.
future: true
in _config.yml
(documentation)The post has published: false
in its front matter.
true
.