Update index.atom.xml template
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Sergio Durigan Junior 2024-06-12 22:45:57 -04:00
parent d564418f94
commit c854bf4af4
Signed by: sergiodj
GPG key ID: D0EB762865FC5E36

View file

@ -15,16 +15,16 @@
<link href="{{ .Permalink }}index.xml" rel="self"/>
<link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }}
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }}
<id>{{ .Permalink }}</id>{{ with .Site.Author.name }}
<id>{{ .Permalink }}</id>{{ with .Site.Params.Author.name }}
<author>
<name>{{.}}</name>{{ with $.Site.Author.email }}
<name>{{.}}</name>{{ with $.Site.Params.Author.email }}
<email>{{.}}</email>{{end}}
</author>{{end}}
<generator>Hugo -- gohugo.io</generator>{{ range $pages }}
<entry>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
<link href="{{ .Permalink }}"/>
<id>{{ .Permalink }}</id>{{ with $.Site.Author.name }}
<id>{{ .Permalink }}</id>{{ with $.Site.Params.Author.name }}
<author>
<name>{{.}}</name>
</author>{{end}}