update atom feed
This commit is contained in:
parent
0afe1dd05d
commit
f6b4a1f1cb
1 changed files with 8 additions and 8 deletions
|
@ -7,21 +7,21 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- printf "<feed xmlns=\"http://www.w3.org/2005/Atom\">" | safeHTML }}
|
{{- printf "<feed xmlns=\"http://www.w3.org/2005/Atom\">" | safeHTML }}
|
||||||
|
|
||||||
<title><![CDATA[{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}]]></title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<link rel="self" href="{{ .Permalink }}"/>
|
<link rel="self" href="{{ .Permalink }}"/>
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[{Dominic Reich “OE7DRT”]]></name>
|
<name>Dominic Reich “OE7DRT”</name>
|
||||||
<email><![CDATA[{dominic@oe7drt.com]]></email>
|
<email>dominic@oe7drt.com</email>
|
||||||
<uri>https://oe7drt.com</uri>
|
<uri>https://oe7drt.com</uri>
|
||||||
</author>
|
</author>
|
||||||
<id>{{ .Permalink }}</id>
|
<id>{{ .Permalink }}</id>
|
||||||
{{ range $pages }}{{ if ne .Params.feed_exclude true }}
|
{{ range $pages }}{{ if ne .Params.feed_exclude true }}
|
||||||
<entry>
|
<entry>
|
||||||
<title><![CDATA[{{ .Title }}]]></title>
|
<title>{{ .Title }}</title>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[{Dominic Reich “OE7DRT”]]></name>
|
<name>Dominic Reich “OE7DRT”</name>
|
||||||
<email><![CDATA[{dominic@oe7drt.com]]></email>
|
<email>dominic@oe7drt.com</email>
|
||||||
<uri>https://oe7drt.com</uri>
|
<uri>https://oe7drt.com</uri>
|
||||||
</author>
|
</author>
|
||||||
<link rel="alternate" href="{{ .Permalink }}"/>
|
<link rel="alternate" href="{{ .Permalink }}"/>
|
||||||
|
@ -29,9 +29,9 @@
|
||||||
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
|
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
|
||||||
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
||||||
{{ if .Site.Params.rssFullContent }}
|
{{ if .Site.Params.rssFullContent }}
|
||||||
<summary><![CDATA[{{ .Content | html }}]]></summary>
|
<summary type="html">{{ .Content | htmlEscape }}</summary>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<summary><![CDATA[{{ .Summary | htmlUnescape | markdownify }}]]></summary>
|
<summary type="html">{{ .Summary | htmlUnescape | markdownify | htmlEscape }}</summary>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</entry>
|
</entry>
|
||||||
{{ end }}{{ end }}
|
{{ end }}{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue