Liquid Exception: comparison of Array with Array failed in _layouts/page.html
解决
octopress\plugins\tag_cloud.rb 第74行:
123456
if@limit>0and@sort!='rand'# sort the tag pairs by frequency in descending orderweighted.sort!{|a,b|b[1]<=>a[1]}# then slice off the top @limit tag pairsweighted=weighted[0,@limit]end
<!--Fonts from Google"s Web font directory at http://google.com/webfonts --><linkhref="http://fonts.useso.com/css?family=PT+Serif:regular,italic,bold,bolditalic"rel="stylesheet"type="text/css"><linkhref="http://fonts.useso.com/css?family=PT+Sans:regular,italic,bold,bolditalic"rel="stylesheet"type="text/css">
jekyll serve
Configuration file: c:/gitWorkSpace/blog-based-on-jekyll-3/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
jekyll 3.1.2 | Error: jekyll-paginate
解决方法
我们安装这个插件到本地即可。
1234567
gem install jekyll-paginate
Fetching: jekyll-paginate-1.1.0.gem (100%)
Successfully installed jekyll-paginate-1.1.0
Parsing documentation for jekyll-paginate-1.1.0
Installing ri documentation for jekyll-paginate-1.1.0
Done installing documentation for jekyll-paginate after 3 seconds
1 gem installed