1
我很難讓jekyll將_posts目錄中的帖子轉換爲html。它正確生成index.md,但不會爲文章生成任何內容。當我添加'source:_posts'時,它會轉換帖子,但不會轉換index.md。jekyll不生成_posts
據我所知,'源'應該不會添加到_config.yml應該指向'。'
我的目錄結構是非常標準:
$ find .|fgrep -v bootstrap . ./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 ./_site/index.html
$ cat _config.yml name: "Developer blog" description: "" url: "http://localhost:4000" source: . paginate: 10 markdown: rdiscount permalink: pretty pygments: true auto: true
即使當我離開自動關閉,我看不出有任何堆棧跟蹤。
$ cat _posts/2013--02-25-test-blog.md --- layout: default title: Testing a blog --- #test blog this is a test
這就是問題:) – Shahbaz 2013-02-23 23:34:13