Skip to content

Commit b73c64f

Browse files
committed
🎨 Reformat article-meta/basic.html
1 parent 5e8561d commit b73c64f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

layouts/partials/article-meta/basic.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series")) }}
9898
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
9999
{{ range $context.GetTerms $taxonomy }}
100-
<a class="mr-2 mt-[0.5rem] relative" href="{{ .RelPermalink }}">{{ partial "badge.html" .LinkTitle }}</a>
100+
<a class="relative mt-[0.5rem] mr-2" href="{{ .RelPermalink }}"
101+
>{{ partial "badge.html" .LinkTitle }}</a
102+
>
101103
{{ end }}
102104
{{ end }}
103105
{{ end }}
@@ -109,7 +111,9 @@
109111
{{ if .Params.showCategoryOnly | default (.Site.Params.article.showCategoryOnly | default false) }}
110112
<div class="flex flex-row flex-wrap items-center">
111113
{{ range (.GetTerms "categories") }}
112-
<a class="mr-2 mt-[0.5rem] relative" href="{{ .RelPermalink }}">{{ partial "badge.html" .LinkTitle }}</a>
114+
<a class="relative mt-[0.5rem] mr-2" href="{{ .RelPermalink }}"
115+
>{{ partial "badge.html" .LinkTitle }}</a
116+
>
113117
{{ end }}
114118
</div>
115119
{{ end }}

0 commit comments

Comments
 (0)