aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.atom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.atom.xml')
-rw-r--r--layouts/index.atom.xml32
1 files changed, 0 insertions, 32 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
deleted file mode 100644
index a80fc53..0000000
--- a/layouts/index.atom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ .Site.Title }}</title>
- <link href="{{ .Permalink }}feed.xml" rel="self"/>
- <link href="{{ .Permalink }}"/>
- <id>{{ .Permalink }}</id>
-
- {{ with .Site.Params.Author.name }}
- <author>
- <name>{{.}}</name>
- {{ with $.Site.Params.Author.email }}
- <email>{{.}}</email>
- {{end}}
- </author>
- {{end}}
-
- <generator>Hugo -- gohugo.io</generator>
- {{ range where (first 10 (where .Site.Pages "Section" "blog")) "Params.hidden" "ne" "true" }}
- <entry>
- {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
- <link href="{{ .Permalink }}"/>
- <id>{{ .Permalink }}</id>
- {{ with .Site.Params.Author.name }}
- <author>
- <name>{{.}}</name>
- </author>
- {{end}}
- {{- $fmt := "2006-01-02T15:04:05-07:00" }}
- <published>{{ .Date.Format $fmt | safeHTML }}</published>
- {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
- </entry>
- {{ end }}
-</feed>