From 9b10701ac42aeb8c562c8ddf75f1d895fc5bc62b Mon Sep 17 00:00:00 2001 From: mahone3297 <329730566@qq.com> Date: Mon, 3 Jun 2024 09:32:46 +0800 Subject: [PATCH] [feature] widget->categories/tags, add tag link to Category/Tags list --- layouts/partials/widget/categories.html | 4 +++- layouts/partials/widget/tag-cloud.html | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/layouts/partials/widget/categories.html b/layouts/partials/widget/categories.html index 10c8a35..e230abe 100644 --- a/layouts/partials/widget/categories.html +++ b/layouts/partials/widget/categories.html @@ -4,7 +4,9 @@
{{ partial "helper/icon" "categories" }}
-

{{ T "widget.categoriesCloud.title" }}

+

+ {{ T "widget.categoriesCloud.title" }} +

{{ range first $limit $context.Site.Taxonomies.categories.ByCount }} diff --git a/layouts/partials/widget/tag-cloud.html b/layouts/partials/widget/tag-cloud.html index e64e5e2..efc892a 100644 --- a/layouts/partials/widget/tag-cloud.html +++ b/layouts/partials/widget/tag-cloud.html @@ -4,7 +4,9 @@
{{ partial "helper/icon" "tag" }}
-

{{ T "widget.tagCloud.title" }}

+

+ {{ T "widget.tagCloud.title" }} +

{{ range first $limit $context.Site.Taxonomies.tags.ByCount }} @@ -13,4 +15,4 @@ {{ end }}
- \ No newline at end of file +