Update index.atom.xml template
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
d564418f94
commit
c854bf4af4
1 changed files with 3 additions and 3 deletions
|
@ -15,16 +15,16 @@
|
||||||
<link href="{{ .Permalink }}index.xml" rel="self"/>
|
<link href="{{ .Permalink }}index.xml" rel="self"/>
|
||||||
<link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }}
|
<link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }}
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }}
|
<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>
|
<author>
|
||||||
<name>{{.}}</name>{{ with $.Site.Author.email }}
|
<name>{{.}}</name>{{ with $.Site.Params.Author.email }}
|
||||||
<email>{{.}}</email>{{end}}
|
<email>{{.}}</email>{{end}}
|
||||||
</author>{{end}}
|
</author>{{end}}
|
||||||
<generator>Hugo -- gohugo.io</generator>{{ range $pages }}
|
<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 }}"/>
|
||||||
<id>{{ .Permalink }}</id>{{ with $.Site.Author.name }}
|
<id>{{ .Permalink }}</id>{{ with $.Site.Params.Author.name }}
|
||||||
<author>
|
<author>
|
||||||
<name>{{.}}</name>
|
<name>{{.}}</name>
|
||||||
</author>{{end}}
|
</author>{{end}}
|
||||||
|
|
Loading…
Reference in a new issue