我无法让 jekyll 将 _posts 目录中的帖子转换为 html。它会正确生成 index.md,但不会为帖子生成任何内容。当我添加“来源:_posts”时,它会转换帖子,但不会转换 index.md。
据我所知,'source' 不应该被添加到 _config.yml 以指向 '.'
我的目录结构非常标准:
$ 查找 .|fgrep -v 引导 . ./index.md ./_config.yml ./_drafts ./_includes ./_includes/footer.html ./_includes/header.html ./_layouts ./_layouts/default.html ./_posts ./_posts/2013--02-25-test-blog.md 。/_地点 ./_site/index.html
$猫_config.yml 名称:“开发者博客” 描述: ”” 网址:“http://localhost:4000” 资源: 。 分页:10 降价:rdiscount 固定链接:漂亮 pygments:真 自动:真
即使我关闭自动,我也看不到堆栈跟踪。
$ cat _posts/2013--02-25-test-blog.md --- 布局:默认 标题:测试博客 --- #测试博客 这是一个测验