23 lines
860 B
XML
23 lines
860 B
XML
<rss version="2.0">
|
|
<channel>
|
|
<title>{{.Title}}</title>
|
|
<link>{{ .Permalink }}</link>
|
|
<description>{{.Params.description}}</description>
|
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
|
<language>{{.}}</language>{{end}}
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
{{ printf "<atom:link href=%q rel=\"self\"/>" .Permalink .MediaType | safeHTML }}
|
|
{{ end }}
|
|
{{ range .Pages }}
|
|
<item>
|
|
<title>{{ .Title }}</title>
|
|
<link>{{ .Permalink }}</link>
|
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
|
<guid>{{ .Permalink }}</guid>
|
|
<description>{{- .Summary | html -}}</description>
|
|
<content:encoded>{{- .Content | html -}}</content:encoded>
|
|
</item>
|
|
{{ end }}
|
|
</channel>
|
|
</rss>
|