fix spacing issue around multiple authors

This commit is contained in:
a 2024-06-05 12:38:12 -05:00
parent 4092c18685
commit 78b1accb31

View file

@ -13,11 +13,7 @@
</time>) {{ end -}}
{{ with .GetTerms "authors" }}
by
{{ range $k, $v := . }} {{- if $k }}, {{ end }}<span class="h-card vcard p-author">
<a class="u-url url p-name fn" href="{{ .Permalink }}" rel="author">{{.Title}}</a>
</span>
{{ end }}
{{ end }}
{{ range $k, $v := . }}{{- if $k }}, {{ end }}<span class="h-card vcard p-author"><a class="u-url url p-name fn" href="{{ .Permalink }}" rel="author">{{.Title}}</a></span>{{ end }}{{ end }}
{{ with .GetTerms "categories" }}into {{ range $k, $v := . }}{{- if $k }}, {{ end }}<a href="{{ .Permalink }}" rel="category" class="p-category">{{ .Title }}</a>{{ end }}{{ end }}
</p>
{{ partial "page/tags-list.html" . }}