From 4abcf3c2efa458e89daf5aca24ceef982343a9ca Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 23 Sep 2024 20:18:28 +0200 Subject: [PATCH] tagcloud fix --- i18n/en.yaml | 1 + i18n/it.yaml | 1 + layouts/partials/sidebar/taglist.html | 10 +++++----- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 72a4720..498113d 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -9,3 +9,4 @@ subscribe_mailinglist: Subscribe to our mailing list subscribe: Subscribe come_and_see_us: Come and see us where: Where +more_tags: "...more" diff --git a/i18n/it.yaml b/i18n/it.yaml index 1e4b04e..47a5fe0 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -9,3 +9,4 @@ subscribe_mailinglist: Iscriviti alla mailing list subscribe: Iscriviti come_and_see_us: Vieni a trovarci where: Dove siamo +more_tags: "...altro" diff --git a/layouts/partials/sidebar/taglist.html b/layouts/partials/sidebar/taglist.html index 3dcb278..ea1fa9d 100644 --- a/layouts/partials/sidebar/taglist.html +++ b/layouts/partials/sidebar/taglist.html @@ -49,13 +49,13 @@ {{ $c := len .Pages }} {{ $font_size := (add $font_min (mul $c $font_step)) }} {{ if ge $c $count_min_display }} -
  • - {{ .Page.LinkTitle | safeHTML }}{{ len .Pages }}
  • +
  • + {{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})
  • {{ else }} -
  • - {{ .Page.LinkTitle | safeHTML }}{{ len .Pages }}
  • +
  • + {{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})
  • {{ end }} {{ end }} -
  • ...
  • +
  • {{ T "more_tags" }}