kiln/templates/atom.xml

18 lines
594 B
XML
Raw Normal View History

2020-11-25 01:08:31 +00:00
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
2020-11-27 23:24:31 +00:00
<id>{{ index site.URLs 0 }}{{ .Path }}</id>
2020-11-25 01:08:31 +00:00
<title>{{ .Title }}</title>
<updated>{{ .Updated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2020-11-27 23:24:31 +00:00
<link href="{{ index site.URLs 0 }}{{ .Path }}" rel="alternate">
2020-11-25 01:08:31 +00:00
{{ range .Entries }}<entry>
2020-11-27 23:24:31 +00:00
<id>{{ index site.URLs 0 }}{{ .Path }}</id>
2020-11-25 01:08:31 +00:00
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2020-11-27 23:24:31 +00:00
{{- $path := .Path }}
{{- range site.URLs }}
<link href="{{ . }}{{ $path }}" rel="alternate">
{{- end }}
2020-11-25 01:08:31 +00:00
</entry>
{{ end -}}
</feed>