diff --git a/settings.yaml b/settings.yaml index bd37507c..85e7379d 100644 --- a/settings.yaml +++ b/settings.yaml @@ -317,7 +317,7 @@ spec: name: widgets label: 小部件 value: "profile,wechat,comments,recent-posts,categories,tags-stat" - help: "目前提供的小部件有:profile(站点资料), wechat(微信), recent-posts(近期文章), comments(最新评论), categories(文章分类), tags(文章标签), stat(统计), tags-stat(标签&统计)。你可以随意组合或排序,以逗号隔开。" + help: "目前提供的小部件有:profile(站点资料), wechat(微信), recent-posts(近期文章), comments(最新评论), categories(文章分类), tags(文章标签), stat(统计), tags-stat(标签&归档&统计)。你可以随意组合或排序,以逗号隔开。" - $formkit: textarea name: postWidgets label: 文章页面小部件 @@ -458,6 +458,29 @@ spec: label: 分类数量 value: -1 help: "小于 0 则展示全部分类" + - $formkit: radio + name: tags_switch + label: 标签&归档&统计 (标签按钮开关) + value: true + options: + - label: 显示 + value: true + - label: 隐藏 + value: false + - $formkit: radio + name: archive_switch + label: 标签&归档&统计 (归档按钮开关) + value: true + options: + - label: 显示 + value: true + - label: 隐藏 + value: false + - $formkit: number + name: archivesQuantity + label: 归档数量 + value: -1 + help: "小于 0 则展示全部归档(目前没用等适配)" - $formkit: number name: newcommentnumber label: 评论数量 @@ -1112,7 +1135,7 @@ spec: wxPay: alipay: enable_reward_wz: - reward_md_url: + reward_md_url: children: - $formkit: radio name: enable_reward_wz diff --git a/templates/about.html b/templates/about.html index 3147c83a..ed52464a 100644 --- a/templates/about.html +++ b/templates/about.html @@ -811,7 +811,7 @@ - +

[[${theme.config.aboutReward.reward_list.size()}]]

+ + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/templates/modules/widgets/aside/contain/stat-contain.html b/templates/modules/widgets/aside/contain/stat-contain.html index ce2bfe87..213f7012 100644 --- a/templates/modules/widgets/aside/contain/stat-contain.html +++ b/templates/modules/widgets/aside/contain/stat-contain.html @@ -12,18 +12,18 @@
-
+ +
访问量 :
diff --git a/templates/modules/widgets/aside/tags-stat.html b/templates/modules/widgets/aside/tags-stat.html index 36a9e75a..f68517c6 100644 --- a/templates/modules/widgets/aside/tags-stat.html +++ b/templates/modules/widgets/aside/tags-stat.html @@ -6,11 +6,21 @@
- -
+ + - +
+
+ + + + +
+
+ + +
diff --git a/templates/modules/widgets/console.html b/templates/modules/widgets/console.html index 070dc896..9d2bcd64 100644 --- a/templates/modules/widgets/console.html +++ b/templates/modules/widgets/console.html @@ -37,10 +37,23 @@
  • [[${archive.year}]]-[[${month.month}]] + data-pjax-state="load"> + [[${(month.month=='01') ? '一月' : + (month.month == '02') ? "二月" : + (month.month == '03') ? "三月" : + (month.month == '04') ? "四月" : + (month.month == '05') ? "五月" : + (month.month == '06') ? "六月" : + (month.month == '07') ? "七月" : + (month.month == '08') ? "八月" : + (month.month == '09') ? "九月" : + (month.month == '10') ? "十月" : + (month.month == '11') ? "十一月" : + "十二月"}]] [[${archive.year}]] +
    [[${month.posts.size()}]] + class="card-archive-list-count">[[${month.posts.size()}]]