Compare commits

...

2 commits

Author SHA1 Message Date
a
78b1accb31 fix spacing issue around multiple authors 2024-06-05 12:38:12 -05:00
a
4092c18685 add support for multiple authors 2024-06-05 12:34:11 -05:00

View file

@ -11,10 +11,10 @@
(updated on <time class="dt-updated updated" datetime="{{ .Lastmod.Format " 2006-01-02T15:04:05-07:00" }}"> (updated on <time class="dt-updated updated" datetime="{{ .Lastmod.Format " 2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format "2006 January 02" }} {{ .Date.Format "2006 January 02" }}
</time>) {{ end -}} </time>) {{ end -}}
by <span class="h-card vcard p-author"> {{ with .GetTerms "authors" }}
<a class="u-url url p-name fn" href="{{ .Site.BaseURL }}" rel="author"> by
<span class="p-given-name given-name">Abdullah</span> <span class="p-family-name family-name">Tarawneh</span></a> {{ 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 }}
</span> {{ with .GetTerms "categories" }}into {{ range $k, $v := . }}{{- if $k }}, {{ end }}<a href="{{ .Permalink }}" rel="category" class="p-category">{{ .Title }}</a>{{ 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> </p>
{{ partial "page/tags-list.html" . }} {{ partial "page/tags-list.html" . }}
</article> </article>