测试 Jekyll 记录
24 November 2013
编码问题
如果你在文档里写入了中文字符,可能会导致运行 jekyll serve
时提示:
Liquid Exception: invalid byte sequence in GB2312 in index.md
这种情况,只需要在 _config.yml
文件里加一句 encoding: UTF-8
就可以了。
自动刷新
执行
jekyll serve --watch
即可自动刷新,不用每次改东西都重启 jekyll 服务看效果了。
文档
Complete usage and documentation available at: Jekyll Bootstrap
Update Author Attributes
In _config.yml
remember to specify your own data:
title : My Blog =)
author :
name : Name Lastname
email : blah@email.test
github : username
twitter : username
The theme should reference these variables whenever needed.
To-Do
This theme is still unfinished. If you’d like to be added as a contributor, please fork! We need to clean up the themes, make theme usage guides with theme-specific markup examples.
blog comments powered by Disqus