okay maybe fixed now?

This commit is contained in:
Morgan McMillian 2022-05-20 18:21:04 -07:00
parent d112d38802
commit 692064b4cf
2 changed files with 19 additions and 1 deletions

View file

@ -9,7 +9,7 @@
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
<content>{{ .Content | safeHTML }}</content>
<content>{{ .Content }}</content>
</entry>
{{ end -}}
</feed>

18
templates/atom.xml Normal file
View file

@ -0,0 +1,18 @@
{{ `<?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>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
{{ range .Pages }}<entry>
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
<content>{{ .Content }}</content>
<author>
<name>Morgan McMillian</name>
</author>
</entry>
{{ end -}}
</feed>