Jekyll:未生成新帖子 [英] Jekyll : New posts not being generated

查看:55
本文介绍了Jekyll:未生成新帖子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个jekyll博客.我将.md文件放在_posts文件夹中.在项目目录的根目录中运行jekyll --server命令.
但是jekyll只是重新生成了较旧的帖子,新闻帖子并未添加到_site.
可能是什么问题?

I am setting up a jekyll blog. I put the .md files in the _posts folder. run jekyll --server command in the root of the project directory.
But jekyll just regenerates the older posts, the news posts are not being added to _site.
What might be the problem?

推荐答案

我终于找到了jekyll失败的原因.我在其中一篇帖子中使用的标题中带有一个冒号(:).我只需要用:替换它,就可以解析该帖子了.

I finally found why jekyll was failing. The title i used in one of my posts had a colon (:) in it. I just had to replace it with : and the post parsed fine.

这篇关于Jekyll:未生成新帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆