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