From 0997eafb438738d632a55a112826123e8ccd4043 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Tue, 6 Nov 2018 15:16:44 -0500 Subject: atom feed --- layouts/index.atom.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layouts/index.atom.xml (limited to 'layouts/index.atom.xml') diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml new file mode 100644 index 0000000..1ef68e1 --- /dev/null +++ b/layouts/index.atom.xml @@ -0,0 +1,23 @@ + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + + {{ if not .Date.IsZero }} + {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{ end }} + {{ .Permalink }}{{ with .Site.Author.name }} + + {{.}}{{ with $.Site.Author.email }} + {{.}}{{end}} + {{end}} + Hugo -- gohugo.io{{ range .Data.Pages }} + + {{ `<![CDATA[` | safeHTML }}{{ .Title }}]]> + + {{ .Permalink }}{{ with .Site.Params.Author }} + + {{.}} + {{end}} + {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + {{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + {{ ` + {{ end }} + -- cgit v1.2.3