Skip to content
Snippets Groups Projects
Commit 2b8fa574 authored by micressor's avatar micressor Committed by micressor
Browse files

ATOM 1.0 feed is now valid

parent e79293b1
Branches
No related tags found
1 merge request!24Feature hugo migration
......@@ -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.
Please register or to comment