Skip to content

How do I modify the pagination for a specific type of content? #1473

Answered by ArnaudLigny
matthieu2607 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @matthieu2607 , what do you mean by "modify"?

You can have a different number of pages and path by section, by creating an index.md file at root of the section, for example:

/my-section/idnex.md:

---
pagination:
  max: 5
  path: "page"
---

See https://cecil.app/documentation/content/#pagination.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by matthieu2607
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants