Jekyll post not generated

前端 未结 9 1163
星月不相逢
星月不相逢 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:44

    Just to add one more reason, when you move an article from _drafts to _post, you sometimes need to delete the _site for the article to be regenerated.

    In my case it often happens that _site will not be entirely deleted before re-generation so the new article won't appear.

    Anyway rm -rf _site and bundle exec jekyll serve works :)

提交回复
热议问题