杰基尔没有发post
我正在使用博客gem在我当前的rails应用程序中放置一个jekyll博客。 基本上,你有一个正常的jekyll构建,但然后你将你的文件放在config / jekyll目录中,并生成文件到公共/博客目录。
但是,当我运行jekyll build
,我的post都没有生成。
这是配置文件:
markdown: rdiscount permalink: /:title.html destination: ../../public/blog exclude: - Rakefile - Gemfile - .gitignore
这是我在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
这是生成的目录结构,包含public / blog
./atom.xml ./css ./css/screen.css ./css/syntax.css ./index.html
我想出了一个线索:如果我将源指定为_posts,它将生成我的post的html版本到公共/博客…但不包括css或索引页面。