fix spacing issue around multiple authors
This commit is contained in:
parent
4092c18685
commit
78b1accb31
|
@ -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" . }}
|
||||
|
|
Loading…
Reference in a new issue