系统:Ubuntu 15.04。
我之前用的Jekyll 2,基本正常。在本地生成博客和运行博客都没有问题。在解决这个问题时,我把Jekyll版本升级到了最新的3.1.2版本。结果出现问题:
新建博客时正常。运行时,失败报错:
在网上查找没有找到原因,请大家帮忙看一下。
认证高级PHP讲师
The questioner please provide more information. For example, it prompts welcome-to-jekyll.markdownmultiple parameters and the file content should be posted.
welcome-to-jekyll.markdown
I tried the latest version first
gem install jekyll jekyll --version #=> 3.1.6, 最新版本 ... jekyll serve #=> 正常
Then I tried the version of the question again
gem install jekyll -v '3.1.2' jekyll _3.1.2_ --version #=> 3.1.2 ... jekyll _3.1.2_ serve #=> 正常
Without more information, I can only guess. liquid是jekyll使用的模板引擎, 通常在源码中表现为{{...}}You can see for yourself whether there are more parameters.
liquid
jekyll
{{...}}
Of course, it is also possible that a particular version of it has bugs, but such a basic bug should not appear.
The questioner please provide more information. For example, it prompts
welcome-to-jekyll.markdown
multiple parameters and the file content should be posted.I tried the latest version first
Then I tried the version of the question again
Without more information, I can only guess.
liquid
是jekyll
使用的模板引擎, 通常在源码中表现为{{...}}
You can see for yourself whether there are more parameters.Of course, it is also possible that a particular version of it has bugs, but such a basic bug should not appear.