udpate atom feed

main
Dominic Reich 2 years ago
parent 9a8bc2bd23
commit 68f28759c8
No known key found for this signature in database
GPG Key ID: A4724D0F0EBE1253

@ -7,31 +7,31 @@
{{- end -}}
{{- printf "<feed xmlns=\"http://www.w3.org/2005/Atom\">" | safeHTML }}
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<title><![CDATA[{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}]]></title>
<link rel="self" href="{{ .Permalink }}"/>
<updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<updated>{{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<author>
<name>Dominic Reich “OE7DRT”</name>
<email>dominic@oe7drt.com</email>
<name><![CDATA[{Dominic Reich “OE7DRT”]]></name>
<email><![CDATA[{dominic@oe7drt.com]]></email>
<uri>https://oe7drt.com</uri>
</author>
<id>{{ .Permalink }}</id>
{{ range $pages }}{{ if ne .Params.feed_exclude true }}
<entry>
<title>{{ .Title }}</title>
<title><![CDATA[{{{ .Title }}]]></title>
<author>
<name>Dominic Reich “OE7DRT”</name>
<email>dominic@oe7drt.com</email>
<name><![CDATA[{Dominic Reich “OE7DRT”]]></name>
<email><![CDATA[{dominic@oe7drt.com]]></email>
<uri>https://oe7drt.com</uri>
</author>
<link rel="alternate" href="{{ .Permalink }}"/>
<id>{{ .Permalink }}</id>
<published>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{ if .Site.Params.rssFullContent }}
<summary>{{ .Content | html }}</summary>
<summary><![CDATA[{{{ .Content | html }}]]></summary>
{{ else }}
<summary>{{ .Summary | htmlUnescape | markdownify }}</summary>
<summary><![CDATA[{{{ .Summary | htmlUnescape | markdownify }}]]></summary>
{{ end }}
</entry>
{{ end }}{{ end }}

Loading…
Cancel
Save