From f9279905043abaebb9f2564ea4cdca264d468b8b Mon Sep 17 00:00:00 2001 From: MaikelChan Date: Fri, 12 Jan 2024 20:26:30 +0100 Subject: [PATCH] Cursor adjustments to badges section in an article. --- layouts/partials/article-meta/basic.html | 6 +++--- layouts/partials/badge.html | 8 +++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html index 25f40c0b..5b158130 100644 --- a/layouts/partials/article-meta/basic.html +++ b/layouts/partials/article-meta/basic.html @@ -51,7 +51,7 @@ {{ end }} -
+
{{/* Output partials */}} {{ with ($meta.Get "partials") }} {{ delimit . "·" | safeHTML }} @@ -64,7 +64,7 @@
{{ if .Params.showAuthorsBadges | default (.Site.Params.article.showAuthorsBadges | default false) }} -
+
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ if (eq $taxonomy "authors")}} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }} @@ -79,7 +79,7 @@ {{/* Output taxonomies */}} {{ if .Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false) }} -
+
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }} diff --git a/layouts/partials/badge.html b/layouts/partials/badge.html index fef54a05..af7501b5 100644 --- a/layouts/partials/badge.html +++ b/layouts/partials/badge.html @@ -1,7 +1,5 @@ - - + + {{ . }} - + \ No newline at end of file