gemini-capsule/capsule/templates/_default/atom.xml

22 lines
773 B
XML
Raw Permalink Normal View History

2022-09-18 11:30:04 +00:00
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2022-11-24 21:08:01 +00:00
<author>
<name>Valvin</name>
</author>
2022-09-18 11:30:04 +00:00
<link href="{{ .URL | safeURL }}" rel="alternate"/>
2022-11-24 21:08:01 +00:00
<link href="{{ .URL | safeURL }}/atom.xml" rel="self"/>
2022-09-18 11:30:04 +00:00
{{ range .Pages }}<entry>
2022-10-15 16:47:52 +00:00
<link href="{{ .URL | safeURL }}" rel="alternate"/>
2022-09-18 11:30:04 +00:00
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
2022-11-24 21:08:01 +00:00
{{ if .Params.tags }}{{ range strings.Split .Params.tags "," -}}
<category term="{{ strings.ReplaceAll . " " "" }}" />
{{ end }}{{ end -}}
2022-09-18 11:30:04 +00:00
</entry>
{{ end -}}
</feed>