无法为Jekyll类别创建分页

时间:2016-10-13 20:30:28

标签: ruby pagination jekyll categories static-site

我知道Jekyll 3已删除此功能。对于博客而言,这是一个非常大的错过。我的Ruby并不是那么棒。有关如何对一类物品进行分页的任何建议?谢谢!

2 个答案:

答案 0 :(得分:0)

It's just not included with Jekyll 3 by default but it's still available through a gem.

For Jekyll 3, include the jekyll-paginate plugin in your Gemfile and in your _config.yml under gems.

Source & Usage: https://jekyllrb.com/docs/pagination/

答案 1 :(得分:0)

对于Jekyll中的类别和标签分页,请尝试使用此替代方法

https://github.com/sverrirs/jekyll-paginate-v2

免责声明:此代码由我撰写