From e8d217a053aa051b07a93d9c5031cb12f4b3dd8b Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 2 Apr 2026 19:15:17 +0000 Subject: [PATCH] fix: colors --- layouts/partials/article/components/details.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index 3dd7223..5ffb25f 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -4,6 +4,9 @@ {{ if $Page.Params.categories }}
{{ range ($Page.GetTerms "tags") }} + {{ $color := partial "helper/color-from-str" .LinkTitle }} + {{ $BackgroundColor := default $color.BackgroundColor .Params.style.background }} + {{ $TextColor := default $color.TextColor .Params.style.color }} {{ .LinkTitle }}