Complete rewrite of pagination logic

- Add a new `paginationWidth` parameter to control how many links are output
- Fix pagination links overflow page

Fixes #299
This commit is contained in:
James Panther
2022-11-08 12:15:25 +11:00
parent fbd118f849
commit 6dd4f6cb81
5 changed files with 97 additions and 39 deletions
+1
View File
@@ -53,6 +53,7 @@ mainSections = ["samples"]
showTableOfContents = true
showTaxonomies = false
groupByYear = false
paginationWidth = 1
[sitemap]
excludedKinds = ["taxonomy", "term"]