7
0
Fork 0

W3c-validator wil graag email en volledige naam zien in author-veld

This commit is contained in:
Michael Boelen 2023-05-23 14:52:58 +02:00
parent f8d7dd908c
commit 1829a06dc2

View file

@ -20,9 +20,9 @@
<description>{{ .Content | plainify }}</description>
{{- if .Params.Author -}}
{{- $author := index .Site.Data.authors .Params.author -}}
<author>{{ $author.email }}</author>
<author>{{ $author.email }} ({{ $author.name }})</author>
{{- else -}}
<author>website@nluug.nl</author>
<author>website@nluug.nl (NLUUG)</author>
{{- end -}}
<guid>{{ .Permalink }}</guid>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>