kiln/templates/_default/atom.xml

18 lines
669 B
XML
Raw Normal View History

2021-05-10 05:08:39 +00:00
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
2020-11-25 01:08:31 +00:00
<feed xmlns="http://www.w3.org/2005/Atom">
2021-05-21 21:08:36 +00:00
<id>{{ index site.URLs 0 }}{{ .Permalink }}</id>
2020-11-25 01:08:31 +00:00
<title>{{ .Title }}</title>
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2021-05-21 21:08:36 +00:00
<link href="{{ index site.URLs 0 | safeURL }}{{ .Permalink }}" rel="alternate"/>
{{ range .Pages }}<entry>
2021-05-21 21:08:36 +00:00
<id>{{ index site.URLs 0 }}{{ .Permalink }}</id>
2020-11-25 01:08:31 +00:00
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2021-05-21 21:08:36 +00:00
{{- $permalink := .Permalink }}
2020-11-27 23:24:31 +00:00
{{- range site.URLs }}
2021-05-21 21:08:36 +00:00
<link href="{{ . | safeURL }}{{ $permalink }}" rel="alternate"/>
2020-11-27 23:24:31 +00:00
{{- end }}
2020-11-25 01:08:31 +00:00
</entry>
{{ end -}}
</feed>