搜索模板
- Google搜索Jekyll Template
- 发现比较简洁的模板Hyde Demo 代码下载
安装和使用模板
- 下载解压后复制到自己相应的GitHub repo,如zoejane.github.io
- 在terminal里运行jekyll serve
修复错误
Deprecation: You appear to have pagination turned on, but you haven't included the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in your configuration file.
- gem install jekyll-paginate
- open _config.yml, add add the following line:
# Gems
gems: [jekyll-paginate]
- run jekyll serve
Since v3.0, permalinks for pages in subfolders must be relative to the site source directory, not the parent directory. Check http://jekyllrb.com/docs/upgrading/ for more info.
- remove relative_permalinks: true from config.yml