From c99f28dcd361c747b6ccd66773b5f9c0f5dee219 Mon Sep 17 00:00:00 2001 From: Illia Aladin Date: Tue, 17 Oct 2023 10:39:33 +0300 Subject: [PATCH] Fixed taxonomies display issue --- layouts/partials/article-meta.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article-meta.html b/layouts/partials/article-meta.html index f7c1f43d..82838515 100644 --- a/layouts/partials/article-meta.html +++ b/layouts/partials/article-meta.html @@ -50,13 +50,13 @@ (and (ne $scope "single") (.Params.showTaxonomies | default (.Site.Params.list.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false)))) (and (eq $scope "single") (.Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false))) }} -
+
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }} {{ range $context.GetTerms $taxonomy }} {{ .LinkTitle }} {{ end }}