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

[FEATURE] Tag pages should use pagination #336

Open
1 task done
keithkennedyHO opened this issue Nov 3, 2023 · 1 comment
Open
1 task done

[FEATURE] Tag pages should use pagination #336

keithkennedyHO opened this issue Nov 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@keithkennedyHO
Copy link
Contributor

What is the feature or enhancement you are suggesting?
Tag pages, that is, pages that list all articles with a particular type should use pagination.

What would be the benefit of doing this?
Consistency with other pages such as standards and principles pages, and improved usability.

The ways-of-working tag page contains over 10 pages and will continue to grow.

Contrast to the standards page, which does use pagination (10 article links per page).

Please confirm the below

  • I have checked through the issues on the repository and this has not already been suggested
@keithkennedyHO keithkennedyHO added the enhancement New feature or request label Nov 3, 2023
@keithkennedyHO keithkennedyHO self-assigned this Nov 6, 2023
@keithkennedyHO
Copy link
Contributor Author

Please see this comment from "Core pagination support for double layered pagination #461" 11ty/eleventy#461 (comment)

The tag pages themselves such as secure development and ways-of-working use the pagination function of 11ty to generate them.

To expand, all the tag pages listed on the all tags page are each an individual "page" generated from the tags page source - note the use of the pagination in the front-matter here.

Therefore, introducing pagination into these pages means we would need to implement the aforementioned double layered pagination within this site to achieve pagination on the individual tag pages.

Double layered pagination is not supported in 11ty at this time, implementation of pagination within specific tag pages would therefore have to be implemented manually.

@keithkennedyHO keithkennedyHO removed their assignment Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant