From 8d8d561374aee9e5ab856620bb9b2649f41542be Mon Sep 17 00:00:00 2001 From: Erzbir Date: Fri, 7 Aug 2026 14:48:48 +0800 Subject: [PATCH] refactor: extract pagination fragments --- templates/archives.html | 21 ++++++----------- templates/category.html | 21 ++++++----------- templates/friends.html | 21 ++++++----------- templates/index.html | 21 ++++++----------- templates/modules/pagination.html | 38 +++++++++++++++++++++++++++++++ templates/moments.html | 21 ++++++----------- templates/portfolio.html | 21 ++++++----------- templates/post.html | 21 +++-------------- templates/tag.html | 21 ++++++----------- 9 files changed, 90 insertions(+), 116 deletions(-) create mode 100644 templates/modules/pagination.html diff --git a/templates/archives.html b/templates/archives.html index 37c8a44..d47b1f4 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -33,19 +33,12 @@ - + diff --git a/templates/category.html b/templates/category.html index 706c477..ff04321 100644 --- a/templates/category.html +++ b/templates/category.html @@ -24,19 +24,12 @@ - + diff --git a/templates/friends.html b/templates/friends.html index 0d88293..b17fb48 100644 --- a/templates/friends.html +++ b/templates/friends.html @@ -35,19 +35,12 @@ - + diff --git a/templates/index.html b/templates/index.html index 1aca132..18cbcca 100644 --- a/templates/index.html +++ b/templates/index.html @@ -43,19 +43,12 @@ - + diff --git a/templates/modules/pagination.html b/templates/modules/pagination.html new file mode 100644 index 0000000..0b4bb75 --- /dev/null +++ b/templates/modules/pagination.html @@ -0,0 +1,38 @@ + + + + + + + diff --git a/templates/moments.html b/templates/moments.html index 6d461a8..92ee415 100644 --- a/templates/moments.html +++ b/templates/moments.html @@ -98,19 +98,12 @@ )}"/> - + diff --git a/templates/portfolio.html b/templates/portfolio.html index 3b42d1e..b6b0d4b 100644 --- a/templates/portfolio.html +++ b/templates/portfolio.html @@ -71,20 +71,13 @@

- + diff --git a/templates/post.html b/templates/post.html index 55f6306..7cc7eea 100644 --- a/templates/post.html +++ b/templates/post.html @@ -25,24 +25,9 @@
- + diff --git a/templates/tag.html b/templates/tag.html index 531499c..8c2075a 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -24,19 +24,12 @@ - +