Add rel="alternate" to Atom post links (#1868)

This improves compatibility with some readers, e.g. Miniflux, which otherwise don't detect these.
This commit is contained in:
Laurențiu Nicola 2022-05-22 00:28:58 +03:00 committed by GitHub
parent 76b0b5f5dd
commit a385dbae29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
<title>{{ page.title }}</title>
<published>{{ page.date | date(format="%+") }}</published>
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
<link href="{{ page.permalink | safe }}" type="text/html"/>
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
<id>{{ page.permalink | safe }}</id>
<content type="html">{{ page.content }}</content>
</entry>