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

@@ -2,7 +2,7 @@
<article>
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-date.html" . }}
{{ partial "paige-metadata.html" . }}
{{ with .Params.stretch }}
<div class="mb-3 mw-100 rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem"></div>
{{ end }}

View File

@@ -42,7 +42,7 @@
{{ end }}
{{ range $pages }}
<item>
{{ with .Site.Author.email }}
{{ with partial "paige-authors.html" . }}
<author>{{ . }}</author>
{{ end }}
{{ if .Content }}
@@ -58,7 +58,7 @@
<pubDate>{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ end }}
{{ with .Title }}
<title>{{ . }}</title>
<title>{{ . | markdownify | plainify | htmlUnescape }}</title>
{{ end }}
</item>
{{ end }}