From d0365e9005d5ad9c5bca68941702e31e58693b59 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sat, 22 Oct 2022 15:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=93=E6=9E=84=EF=BC=8Cfi?= =?UTF-8?q?x=20=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 4 ++-- templates/assets/zhheo/zhheoblog.css | 1 + templates/category.html | 6 ++--- templates/modules/aside.html | 17 +++++++++---- .../modules/widgets/{ => aside}/profile.html | 0 .../widgets/{ => aside}/recent-posts.html | 0 .../{statistics.html => aside/stat.html} | 2 +- .../modules/widgets/{ => aside}/tags.html | 0 .../modules/widgets/{ => aside}/toc.html | 0 templates/post.html | 24 +++++++++---------- templates/tag.html | 6 ++--- 11 files changed, 34 insertions(+), 26 deletions(-) rename templates/modules/widgets/{ => aside}/profile.html (100%) rename templates/modules/widgets/{ => aside}/recent-posts.html (100%) rename templates/modules/widgets/{statistics.html => aside/stat.html} (96%) rename templates/modules/widgets/{ => aside}/tags.html (100%) rename templates/modules/widgets/{ => aside}/toc.html (100%) diff --git a/settings.yaml b/settings.yaml index 7d1757d7..686335f0 100644 --- a/settings.yaml +++ b/settings.yaml @@ -125,8 +125,8 @@ spec: - $formkit: textarea name: widgets label: 小部件(无效) - value: "profile,popular-posts,latest-comments,categories,tags" - help: "目前提供的小部件有:profile(站点资料), popular-posts(热门文章), latest-comments(最新评论), categories(文章分类), tags(文章标签)。你可以随意组合或排序,以逗号隔开。" + value: "profile,recent-posts,latest-comments,categories,tags" + help: "目前提供的小部件有:profile(站点资料), recent-posts(近期文章), latest-comments(最新评论), categories(文章分类), tags(文章标签)。你可以随意组合或排序,以逗号隔开。" - $formkit: text name: profile_name label: 个人卡片名称 diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 7d269a8a..4ed75df6 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -10119,6 +10119,7 @@ blockquote p { padding: 1rem 1.3rem; overflow: hidden; border-width: 1px; + border: var(--style-border); transition: all 0.3s ease 0s; } diff --git a/templates/category.html b/templates/category.html index aa02519b..47a03c63 100644 --- a/templates/category.html +++ b/templates/category.html @@ -67,7 +67,7 @@
-
+
@@ -79,11 +79,11 @@
- +
- +
diff --git a/templates/modules/aside.html b/templates/modules/aside.html index 96f70cc4..3914642f 100644 --- a/templates/modules/aside.html +++ b/templates/modules/aside.html @@ -1,22 +1,29 @@ -
+
+ + + + + -
+
-
+
- +
- +
diff --git a/templates/modules/widgets/profile.html b/templates/modules/widgets/aside/profile.html similarity index 100% rename from templates/modules/widgets/profile.html rename to templates/modules/widgets/aside/profile.html diff --git a/templates/modules/widgets/recent-posts.html b/templates/modules/widgets/aside/recent-posts.html similarity index 100% rename from templates/modules/widgets/recent-posts.html rename to templates/modules/widgets/aside/recent-posts.html diff --git a/templates/modules/widgets/statistics.html b/templates/modules/widgets/aside/stat.html similarity index 96% rename from templates/modules/widgets/statistics.html rename to templates/modules/widgets/aside/stat.html index dab8ba71..32585114 100644 --- a/templates/modules/widgets/statistics.html +++ b/templates/modules/widgets/aside/stat.html @@ -2,7 +2,7 @@ - +
统计
diff --git a/templates/modules/widgets/tags.html b/templates/modules/widgets/aside/tags.html similarity index 100% rename from templates/modules/widgets/tags.html rename to templates/modules/widgets/aside/tags.html diff --git a/templates/modules/widgets/toc.html b/templates/modules/widgets/aside/toc.html similarity index 100% rename from templates/modules/widgets/toc.html rename to templates/modules/widgets/aside/toc.html diff --git a/templates/post.html b/templates/post.html index d82c76e3..3d68ad56 100644 --- a/templates/post.html +++ b/templates/post.html @@ -15,15 +15,15 @@