rss.xml (924B)
1 <feed xmlns="http://www.w3.org/2005/Atom"> 2 <title>{{ .Title }}</title> 3 <link href="{{ .Permalink }}atom.xml" rel="self"/> 4 <link href="{{ .Permalink }}"/> 5 {{ if not .Date.IsZero }} 6 <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> 7 {{ end }} 8 <id>{{ .Permalink }}</id> 9 <author> 10 <name>{{.Site.Author.name}}</name> 11 <email>{{.Site.Author.email}}</email> 12 </author> 13 <generator>Hugo</generator> 14 {{ range first 15 (where .Data.Pages "Type" "in" .Site.Params.mainSections) }} 15 <entry> 16 {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title> 17 <link href="{{ .Permalink }}"/> 18 <id>{{ .Permalink }}</id> 19 <published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published> 20 <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> 21 {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content> 22 </entry> 23 {{ end }} 24 </feed>