Skip to content
Snippets Groups Projects
Commit 7b66fe7b authored by micressor's avatar micressor
Browse files

ATOM 1.0 feed is now valid

parent 469b4784
No related branches found
No related tags found
Loading
......@@ -12,7 +12,7 @@
<name>{{.}}</name>{{ with $.Site.Author.email }}
<email>{{.}}</email>{{end}}
</author>{{end}}
<generator>Hugo -- gohugo.io</generator>{{ range first 15 (where .Data.Pages "Type" "in" .Site.Params.mainSections) }}
<generator>Hugo -- gohugo.io</generator>{{ range .Pages }}
<entry>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
<link href="{{ .Permalink }}"/>
......@@ -22,7 +22,7 @@
</author>{{end}}
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<summary>{{ .Summary }}</summary>
{{`<summary><![CDATA[` | safeHTML }}{{ with .Param "description" }}{{ . }}{{ else }}{{ .Summary }}{{ end }}]]></summary>
<!-- Disable atom content
{{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment