From 6c4f64b29a26551bb6175b8c8300cda5b4bdd5f0 Mon Sep 17 00:00:00 2001 From: Trekathlon <48809284+Trekathlon@users.noreply.github.com> Date: Sun, 1 Sep 2024 19:35:00 +0200 Subject: [PATCH] Fixed Tag decorations --- layouts/_default/list.html | 2 +- layouts/_default/terms.html | 2 +- layouts/partials/cloudtag.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0e5771e..5f5308a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,7 @@ {{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
{{ .PublishDate.Format $customDateFormat }} - {{ partialCached "tags" . }} + {{ partial "tags" . }} {{ if eq .Site.Params.showPostSummary true }}
{{ .Summary }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 38f4acd..dd8f787 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -3,7 +3,7 @@

{{ .Title }}

{{ range .Data.Terms.Alphabetical }} -
{{ .Page.Title }} {{ .Count }}
+
{{ .Page.Title }} {{ .Count }}
{{ end }}
diff --git a/layouts/partials/cloudtag.html b/layouts/partials/cloudtag.html index f4d6667..8f68439 100644 --- a/layouts/partials/cloudtag.html +++ b/layouts/partials/cloudtag.html @@ -23,7 +23,7 @@ {{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }} {{ $name }} + style="font-size:{{$currentFontSize}}{{$fontUnit}}" class="text-decoration-none">{{ $name }} {{ end }}