mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 09:23:09 +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
9927255676
commit
90aa756156
|
@ -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