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
1 merge request!24Feature hugo migration
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<name>{{.}}</name>{{ with $.Site.Author.email }} <name>{{.}}</name>{{ with $.Site.Author.email }}
<email>{{.}}</email>{{end}} <email>{{.}}</email>{{end}}
</author>{{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> <entry>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title> {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
<link href="{{ .Permalink }}"/> <link href="{{ .Permalink }}"/>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</author>{{end}} </author>{{end}}
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published> <published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> <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 <!-- Disable atom content
{{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></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