Closed AucT closed 1 month ago
The changes in this pull request involve the addition of new CSS class names to the PurgeCSS configuration, the inclusion of a new pagination stylesheet in relevant HTML files, and a complete restructuring of the pagination logic using partial templates. These updates aim to enhance the styling and functionality of pagination across the site.
Files | Change Summary |
---|---|
postcss.config.js |
Added .pagination , .page-link , .page-item , .active , and .disabled classes to PurgeCSS configuration; removed pp-gf . Updated regex patterns for greedy matching. |
themes/beaver/assets/css/pagination.css |
Introduced new styles for pagination, including layout, link states, and hover effects. |
themes/beaver/assets/css/style.css |
Removed existing pagination styles from the main stylesheet. |
themes/beaver/layouts/_default/list.html |
Added link to css/pagination.css stylesheet for pagination styles. |
themes/beaver/layouts/blog/list.html |
Included link to css/pagination.css stylesheet in blog layout. |
themes/beaver/layouts/partials/pagination.html |
Restructured pagination logic using partial templates for "default" and "terse" formats. |
Objective | Addressed | Explanation |
---|---|---|
Fix broken pagination on blog (#141) | ✅ |
postcss.config.js
.themes/beaver/layouts/_default/list.html
file.themes/beaver/layouts/_default/list.html
file, which is related to the pagination component that the main PR's changes aim to preserve through the updated PurgeCSS configuration.In the land of code where rabbits hop,
New styles for pagination make hearts stop.
With links that dance and colors bright,
Our blog's now ready, what a delight!
Hooray for changes, let’s all cheer,
Pagination’s here, let’s spread the cheer! 🐇✨
@AucT please cleanup PR
Closes #141
Summary by CodeRabbit
New Features
pagination.css
file.Bug Fixes
Documentation