jekyll not generating posts

这一生的挚爱 提交于 2019-12-24 02:37:13

问题


I am using the bloggy gem to put a jekyll blog within my current rails app. Basically, you have a normal jekyll build but then you put your files in the config/jekyll directory and generate files into the public/blog directory.

However, when I run jekyll build, none of my posts are generated.

Here is the config file:

markdown: rdiscount
permalink: /:title.html
destination: ../../public/blog
exclude:
  - Rakefile
  - Gemfile
  - .gitignore

Here is my directory structure within config/jekyll

./_config.yml
./_layouts
./_layouts/default.html
./_layouts/page.html
./_layouts/post.html
./_posts
./_posts/2013-06-07-dear-nsa.md
./_posts/2013-06-07-wut.markdown
./atom.xml
./css
./css/screen.css
./css/syntax.css
./index.html

And here is the generated directory structure with public/blog

./atom.xml
./css
./css/screen.css
./css/syntax.css
./index.html

A clue I've come up with: if I specify the source as the _posts, it will generate html versions of my posts into public/blog... but will not include the css or index page.

来源:https://stackoverflow.com/questions/16990138/jekyll-not-generating-posts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!