You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pagination does not support tags or categories
Pagination pages through every post in the posts variable regardless of variables defined in the YAML Front Matter of each. It does not currently allow paging over groups of posts linked by a common tag or category. It cannot include any collection of documents because it is restricted to posts.
在issue里提出自己的问题感觉有点怪怪的^……
jekyll文档里是这么说的:
那么实在不明白像:
{% for post in paginatcategories.book %}
这样的语句里有什么作用,参见:https://github.com/Allianzcortex/Allianzcortex.github.io/blob/master/book/index.html并且我和安亚的博客思路好像也不一样,我是按照每个模块(blog/book/read)里都有一个index.html,用它来展示每个我想要的页面。
草草地展示一下我的页面: allianzcortex.github.io ,博文一栏展示的是所有的文章;而我想要book一栏只展示categories/tag 为book的文章。好像很难做到的样子??……
安亚有什么好的思路嘛,求帮助(^_^)
The text was updated successfully, but these errors were encountered: