diff options
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/blog/layouts/index.atom.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/users/fcuny/blog/layouts/index.atom.xml b/users/fcuny/blog/layouts/index.atom.xml index 531e77c..1d73f9b 100644 --- a/users/fcuny/blog/layouts/index.atom.xml +++ b/users/fcuny/blog/layouts/index.atom.xml @@ -1,5 +1,5 @@ <feed xmlns="http://www.w3.org/2005/Atom"> - <title>Franck Cuny Website</title> + <title>{{ .Site.Title }}</title> <link href="{{ .Permalink }}feed.xml" rel="self"/> <link href="{{ .Permalink }}"/> <id>{{ .Permalink }}</id>{{ with .Site.Author.name }} @@ -7,7 +7,8 @@ <name>{{.}}</name>{{ with $.Site.Author.email }} <email>{{.}}</email>{{end}} </author>{{end}} - <generator>Hugo -- gohugo.io</generator>{{ range where (first 10 (where .Site.Pages "Section" "posts")) "Params.hidden" "ne" "true" }} + <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 }}"/> @@ -18,5 +19,6 @@ {{- $fmt := "2006-01-02T15:04:05-07:00" }} <published>{{ .Date.Format $fmt | safeHTML }}</published> {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content> - </entry>{{ end }} + </entry> + {{ end }} </feed> |