|
|
@ -14,39 +14,31 @@
|
|
|
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
|
|
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<channel>
|
|
|
|
<channel>
|
|
|
|
{{ with $title }}
|
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
|
|
<title>{{ . }}</title>
|
|
|
|
{{ printf `<atom:link href="%s" rel="self" type="%s"/>` .Permalink .MediaType | safeHTML }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Site.Copyright }}
|
|
|
|
|
|
|
|
<copyright>{{ . }}</copyright>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<link>{{ .Permalink }}</link>
|
|
|
|
|
|
|
|
<description>Recent content{{ with $title }} in {{ . }}{{ end }}</description>
|
|
|
|
<description>Recent content{{ with $title }} in {{ . }}{{ end }}</description>
|
|
|
|
{{ with .Site.LanguageCode }}
|
|
|
|
{{ with .Site.LanguageCode }}
|
|
|
|
<language>{{ . }}</language>
|
|
|
|
<language>{{ . }}</language>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if and .Date (not .Date.IsZero) }}
|
|
|
|
|
|
|
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<link>{{ .Permalink }}</link>
|
|
|
|
{{ with .Site.Author.email }}
|
|
|
|
{{ with .Site.Author.email }}
|
|
|
|
<managingEditor>{{ . }}</managingEditor>
|
|
|
|
<managingEditor>{{ . }}</managingEditor>
|
|
|
|
<webMaster>{{ . }}</webMaster>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Site.Copyright }}
|
|
|
|
|
|
|
|
<copyright>{{ . }}</copyright>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if and .Date (not .Date.IsZero) }}
|
|
|
|
{{ with $title }}
|
|
|
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
|
|
|
<title>{{ . }}</title>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
|
|
{{ with .Site.Author.email }}
|
|
|
|
{{ printf `<atom:link href="%s" rel="self" type="%s"/>` .Permalink .MediaType | safeHTML }}
|
|
|
|
<webMaster>{{ . }}</webMaster>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ range $pages }}
|
|
|
|
{{ range $pages }}
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
{{ with .Title }}
|
|
|
|
|
|
|
|
<title>{{ . }}</title>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Permalink }}
|
|
|
|
|
|
|
|
<link>{{ . }}</link>
|
|
|
|
|
|
|
|
<guid>{{ . }}</guid>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Date }}
|
|
|
|
|
|
|
|
<pubDate>{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Site.Author.email }}
|
|
|
|
{{ with .Site.Author.email }}
|
|
|
|
<author>{{ . }}</author>
|
|
|
|
<author>{{ . }}</author>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
@ -55,7 +47,17 @@
|
|
|
|
{{ else if .Summary }}
|
|
|
|
{{ else if .Summary }}
|
|
|
|
<description>{{ .Summary | html }}</description>
|
|
|
|
<description>{{ .Summary | html }}</description>
|
|
|
|
{{ else if .Description }}
|
|
|
|
{{ else if .Description }}
|
|
|
|
<description>{{ .Description | markdown | html }}</description>
|
|
|
|
<description>{{ .Description | markdownify | html }}</description>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Permalink }}
|
|
|
|
|
|
|
|
<guid>{{ . }}</guid>
|
|
|
|
|
|
|
|
<link>{{ . }}</link>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Date }}
|
|
|
|
|
|
|
|
<pubDate>{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Title }}
|
|
|
|
|
|
|
|
<title>{{ . }}</title>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|