mirror of
https://github.com/getzola/zola
synced 2024-12-14 22:32:29 +00:00
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:
parent
76b0b5f5dd
commit
a385dbae29
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
<title>{{ page.title }}</title>
|
<title>{{ page.title }}</title>
|
||||||
<published>{{ page.date | date(format="%+") }}</published>
|
<published>{{ page.date | date(format="%+") }}</published>
|
||||||
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
|
<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>
|
<id>{{ page.permalink | safe }}</id>
|
||||||
<content type="html">{{ page.content }}</content>
|
<content type="html">{{ page.content }}</content>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
Loading…
Reference in a new issue