Jekyll解决Deprecation: but you haven't included the `jekyll-paginate` gem
Posted 金在峰
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Jekyll解决Deprecation: but you haven't included the `jekyll-paginate` gem相关的知识,希望对你有一定的参考价值。
Configuration file: E:/LessOrMore/_config.yml
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.
Source: E:/LessOrMore
Destination: E:/LessOrMore/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.655 seconds.
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.
问题
在运行 jekyll serve
的时候,出现该问题:
Deprecation: You appear to have pagination turned on, but you haven’t included the
jekyll-paginate
gem. Ensure you havegems: [jekyll-paginate]
in your configuration file.
解决
因为我们的配置文件_config.yml使用了 paginate
配置项,所以需要添加一行:
gems: [jekyll-paginate]
- 1
- 1
参考
https://teamtreehouse.com/community/jekyllpaginate-gem
以上是关于Jekyll解决Deprecation: but you haven't included the `jekyll-paginate` gem的主要内容,如果未能解决你的问题,请参考以下文章
解决问题:Linux(Ubuntu系统),pip list警告DEPRECATION: The default format will switch to columns in the future.
sh 解决问题:`bash:jekyll:command not found`
Error:(12, 24) 警告: [deprecation] android.hardware中的Camera已过时.android