Atom feed: add <author> element for each post in the feed

pull/1/head
Starbeamrainbowlabs 2022-09-01 16:49:22 +01:00
parent c8b3ff9f06
commit 84e732ae5c
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@
<id>{{ post.link }}</id>
<content xml:lang="{{ metadata.language }}" type="html">{% if post.description %}{{ post.description | htmlToAbsoluteUrls(post.link) }}{% else %}{{ post.title }}{% endif %}</content>
<author>
<name>{{ post.author_name }}</name>
<uri>{{ post.parent.link }}</uri>
</author>
</entry>
{%- endfor %}
</feed>