okay maybe fixed now?
This commit is contained in:
parent
d112d38802
commit
692064b4cf
2 changed files with 19 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
|
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
|
||||||
<link href="{{ .URL | safeURL }}" rel="alternate"/>
|
<link href="{{ .URL | safeURL }}" rel="alternate"/>
|
||||||
<content>{{ .Content | safeHTML }}</content>
|
<content>{{ .Content }}</content>
|
||||||
</entry>
|
</entry>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
18
templates/atom.xml
Normal file
18
templates/atom.xml
Normal 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>
|
Loading…
Reference in a new issue