Merge branch 'rss-improvements' into 'main'
Improve RSS Feed See merge request ccchh/ccchh-website!20
This commit is contained in:
commit
5c9a554aa5
1 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,12 @@
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
|
<author>{{ with .GetTerms "authors" -}}
|
||||||
|
{{- range $i, $pageAuthor := . -}}
|
||||||
|
{{- if $i -}}, {{- end -}}
|
||||||
|
{{ .Title }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end }}</author>
|
||||||
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
|
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue