Jekyll post not generated

前端 未结 9 1157
星月不相逢
星月不相逢 2020-12-04 14:53

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

9条回答
  •  半阙折子戏
    2020-12-04 15:29

    • The post is not placed in the _posts directory.
    • The post has incorrect title. Posts should be named YEAR-MONTH-DAY-title.MARKUP (Note the MARKUP extension, which is usually .md or .markdown)
    • The post's date is in the future. You can make the post visible by setting future: true in _config.yml (documentation)
    • The post has published: false in its front matter. Set it to true.
    • The title contains a : character. Replace it with :. Works in jekyll 3.8.3 (and probably in other 'recent' releases).

提交回复
热议问题