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>
|
||||
<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 -}}
|
||||
|
|
Loading…
Reference in a new issue