Jekyll在服务或构建上的错误

时间:2014-10-02 15:46:36

标签: jekyll

任何人都可以帮助解决以下Jekyll错误吗?

H:\jekyll\styleguide>jekyll build
Configuration file: H:/jekyll/styleguide/_config.yml
            Source: H:/jekyll/styleguide
       Destination: H:/jekyll/styleguide/_site
      Generating... enter code here
Error reading file H:/jekyll/styleguide/_android/1_lorem-ipsum.md: undefined met
hod `fetch' for "output:true":String
  Liquid Exception: undefined method `fetch' for "output:true":String in _layout
s/default.html
jekyll 2.4.0 | Error:  undefined method `fetch' for "output:true":String

下面附有1_lorem_ipsum.md的代码:

---
layout: default
title: Lorem Ipsum
---

Lorem Ipsum
==========


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

1 个答案:

答案 0 :(得分:0)

固定。 config.yml文件中缺少空格:)