mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
🎨 Reformat article-meta/basic.html
This commit is contained in:
@@ -97,7 +97,9 @@
|
|||||||
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series")) }}
|
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series")) }}
|
||||||
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
|
||||||
{{ range $context.GetTerms $taxonomy }}
|
{{ range $context.GetTerms $taxonomy }}
|
||||||
<a class="mr-2 mt-[0.5rem] relative" href="{{ .RelPermalink }}">{{ partial "badge.html" .LinkTitle }}</a>
|
<a class="relative mt-[0.5rem] mr-2" href="{{ .RelPermalink }}"
|
||||||
|
>{{ partial "badge.html" .LinkTitle }}</a
|
||||||
|
>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -109,7 +111,9 @@
|
|||||||
{{ if .Params.showCategoryOnly | default (.Site.Params.article.showCategoryOnly | default false) }}
|
{{ if .Params.showCategoryOnly | default (.Site.Params.article.showCategoryOnly | default false) }}
|
||||||
<div class="flex flex-row flex-wrap items-center">
|
<div class="flex flex-row flex-wrap items-center">
|
||||||
{{ range (.GetTerms "categories") }}
|
{{ range (.GetTerms "categories") }}
|
||||||
<a class="mr-2 mt-[0.5rem] relative" href="{{ .RelPermalink }}">{{ partial "badge.html" .LinkTitle }}</a>
|
<a class="relative mt-[0.5rem] mr-2" href="{{ .RelPermalink }}"
|
||||||
|
>{{ partial "badge.html" .LinkTitle }}</a
|
||||||
|
>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user