From 3de413608a51b07f5189b6d8fb3e9c71b0c3b818 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sat, 29 Oct 2022 14:17:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=88=86=E7=B1=BB=20widgets?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=20th:href=20=E6=B7=BB=E5=8A=A0=20@{}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/category.html | 8 ++++---- templates/index.html | 2 +- templates/modules/category-bar.html | 2 +- templates/modules/footer.html | 2 +- templates/modules/post-list.html | 16 +++++++-------- .../modules/widgets/aside/categories.html | 20 +++++++++++++++++++ .../modules/widgets/aside/recent-posts.html | 4 ++-- templates/modules/widgets/aside/tags.html | 2 +- templates/modules/widgets/banner-group.html | 6 +++--- templates/modules/widgets/console.html | 2 +- templates/modules/widgets/nav-left.html | 2 +- templates/modules/widgets/nav-menu.html | 4 ++-- templates/modules/widgets/top-group.html | 4 ++-- templates/post.html | 6 +++--- templates/tag.html | 8 ++++---- 15 files changed, 54 insertions(+), 34 deletions(-) create mode 100644 templates/modules/widgets/aside/categories.html diff --git a/templates/category.html b/templates/category.html index 65ff86f1..6c6acab3 100644 --- a/templates/category.html +++ b/templates/category.html @@ -20,7 +20,7 @@ th:classappend="${category.metadata.name == categoryItem.metadata.name} ? 'select'" th:each="categoryItem : ${categoryFinder.listAll()}" th:id="${categoryItem.spec.displayName}"> - @@ -34,7 +34,7 @@
- @@ -48,11 +48,11 @@
diff --git a/templates/index.html b/templates/index.html index f9268dd2..d7fb2583 100644 --- a/templates/index.html +++ b/templates/index.html @@ -24,7 +24,7 @@
-
+
diff --git a/templates/modules/category-bar.html b/templates/modules/category-bar.html index c899d01c..cd4a58ed 100644 --- a/templates/modules/category-bar.html +++ b/templates/modules/category-bar.html @@ -12,7 +12,7 @@
- +
diff --git a/templates/modules/footer.html b/templates/modules/footer.html index b0cacb4b..888d2c42 100644 --- a/templates/modules/footer.html +++ b/templates/modules/footer.html @@ -19,7 +19,7 @@ diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html index 4a5af750..e9ef7b2d 100644 --- a/templates/modules/post-list.html +++ b/templates/modules/post-list.html @@ -11,7 +11,7 @@ th:each="post,iStat : ${postItems}">
- + @@ -21,7 +21,7 @@ @@ -31,7 +31,7 @@ 最新文章
@@ -45,7 +45,7 @@ @@ -72,7 +72,7 @@