Add multiple authors

This commit is contained in:
Will Faught
2022-12-19 17:10:31 -08:00
parent 69b5fd8a1b
commit 4d84560390
8 changed files with 40 additions and 14 deletions

View File

@@ -0,0 +1,8 @@
{{ $authors := partial "paige-authors.html" . }}
{{ if or $authors .PublishDate}}
<p class="text-center text-muted">
{{- with $authors }}{{ . }}{{ end -}}
{{- if and $authors .PublishDate }}<br>{{ end -}}
{{- with .PublishDate }}<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.date_format | default ":date_long") . }}</time>{{ end -}}
</p>
{{ end }}