Add shared pagination partial with condensed page list#584
Merged
Conversation
Long page lists rendered every page number (60+ on the directory in production). Extract a single pagination partial used by directory, post, and default list templates that shows first 2, last 2, and current ±1 with ellipsis fillers, and patch dark-mode hover so the pill doesn't flash near-white on dark backgrounds. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for rladies-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
JSON Validation✅ All JSON files are valid. Updated: 2026-05-11T08:36:53.130Z |
Contributor
Bundle Size ReportTotal CSS: 202.7 KB · Total JS: 593.4 KB · Combined: 796.1 KB Asset breakdown
Updated: 2026-05-11T08:37:37.761Z |
Contributor
Broken Link Check✅ No broken links found. Updated: 2026-05-11T08:37:38.836Z |
Contributor
Lighthouse Audit
Updated: 2026-05-11T08:41:48.844Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
…fillers, while lists with ≤5 pages render unchanged.partials/pagination.html) reused bydirectory/list.html,post/list.html, and_default/list.html..page-link:hoverwas applying near-whitebg-lighton the dark surface — now usesvar(--color-raised).Test plan
hugo buildsucceeds/blog/) — pagination renders as before/directory/on a build with many entries — only first 2, last 2, and current ±1 show, with…between#directory-paginationid🤖 Generated with Claude Code