templates/_default/atom.xml: Add required links

Entries must contain a alternate link if there is no content element.
This commit is contained in:
Adnan Maolood 2022-09-24 11:09:02 -04:00
parent 9927255676
commit 90aa756156

View file

@ -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>