Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage category filter if present in the pagination configuration #158

Open
wants to merge 50 commits into
base: master
Choose a base branch
from

Conversation

r3dlin3
Copy link

@r3dlin3 r3dlin3 commented Mar 11, 2019

Pagination can be used with AutoPages.
However, filtering category was overwritten when generating pages by AutoPages for category.
This lightweight changes allows to define category or categories in the frontpage matter.
For instance, to generate pages for all categories for posts with at least the category "software"

---
layout: post
autopages:
  permalink: '/software/category/:cat/'
pagination: 
  enabled: true
  category: software
---

ibrado and others added 30 commits February 8, 2018 11:32
Adding note about gitlab in readme
@sverrirs
Copy link
Owner

sverrirs commented Feb 8, 2020

Needs to be rebased due to forced backtracking in repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants