07 February 2016
版权声明:本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名elloop(包含链接)

2.x to 3.x 主要变化

  • redcarpet ---> kramdown (the only markdown engine)

  • pygments ---> rouge

升级本地jekyll版本 upgrade local jekyll

gem jekyll update

如遇更新失败,更改gem sources或者翻墙

deprecated paginate

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.

fix:

step1:

gem install jekyll-paginate

step2:

修改_config.yml:

gems:
  - jekyll-paginate

style error

[2016-02-11 08:41:50] ERROR /assets/themes/bootstrap/css/bootstrap.min.css' not found.</br> [2016-02-11 08:41:50] ERROR /assets/themes/css/style.css’ not found.</br> [2016-02-11 08:41:50] ERROR /assets/themes/bootstrap/js/bootstrap.min.js' not found.</br> [2016-02-11 08:41:50] ERROR /assets/themes/bootstrap/css/colors-dark.css’ not found.</br>

fix:

copy

~/assets/themes/bootstrap-3/bootstrap ~/assets/themes/bootstrap-3/css

to

~/assets/themes/bootstrap ~/assets/themes/css



分享到