Add NLUUG to copyright line, fix description field as quotes where transformed and not valid in XML
This commit is contained in:
parent
f30d9551f3
commit
a6311b8611
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
<description>{{ .Site.Params.description }}</description>
|
<description>{{ .Site.Params.description }}</description>
|
||||||
<link>{{ absURL "" }}</link>
|
<link>{{ absURL "" }}</link>
|
||||||
<language>{{ $language | default "en" }}</language>
|
<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>
|
<lastBuildDate>{{ .Site.Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
||||||
{{ with .Site.Params.webmaster }}
|
{{ with .Site.Params.webmaster }}
|
||||||
<webMaster>{{ . }}</webMaster>
|
<webMaster>{{ . }}</webMaster>
|
||||||
|
@ -17,10 +17,10 @@
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>{{ .Content | plainify }}</description>
|
<description>{{ .Content | html }}</description>
|
||||||
{{- if .Params.Author -}}
|
{{- if .Params.Author -}}
|
||||||
{{- $author := index .Site.Data.authors .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 -}}
|
{{- else -}}
|
||||||
<author>website@nluug.nl (NLUUG webmasters)</author>
|
<author>website@nluug.nl (NLUUG webmasters)</author>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue