mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
templates/_default/atom.xml: Add required links
Entries must contain a alternate link if there is no content element.
This commit is contained in:
parent
9d0c5c2af7
commit
a6daae817c
|
@ -8,6 +8,7 @@
|
||||||
<id>{{ .URL }}</id>
|
<id>{{ .URL }}</id>
|
||||||
<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"/>
|
||||||
</entry>
|
</entry>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
Loading…
Reference in a new issue