Add NLUUG to copyright line, fix description field as quotes where transformed and not valid in XML

This commit is contained in:
Michael Boelen 2024-11-19 17:22:28 +00:00
parent f30d9551f3
commit a6311b8611

View file

@ -6,7 +6,7 @@
<description>{{ .Site.Params.description }}</description>
<link>{{ absURL "" }}</link>
<language>{{ $language | default "en" }}</language>
<copyright>Copyright {{ now.Format "2006"}}, {{ $author }}</copyright>
<copyright>Copyright {{ now.Format "2006"}}, {{ .Site.Title }}</copyright>
<lastBuildDate>{{ .Site.Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{ with .Site.Params.webmaster }}
<webMaster>{{ . }}</webMaster>
@ -17,10 +17,10 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<description>{{ .Content | plainify }}</description>
<description>{{ .Content | html }}</description>
{{- if .Params.Author -}}
{{- $author := index .Site.Data.authors .Params.author -}}
<author>{{ $author.email }} ({{ $author.name }})</author>
<author>{{ $author.email | default "website@nluug.nl" }} ({{ $author.name }})</author>
{{- else -}}
<author>website@nluug.nl (NLUUG webmasters)</author>
{{- end -}}