Atom feed: add <author> element for each post in the feed
parent
c8b3ff9f06
commit
84e732ae5c
|
@ -18,7 +18,10 @@
|
||||||
<id>{{ post.link }}</id>
|
<id>{{ post.link }}</id>
|
||||||
|
|
||||||
<content xml:lang="{{ metadata.language }}" type="html">{% if post.description %}{{ post.description | htmlToAbsoluteUrls(post.link) }}{% else %}{{ post.title }}{% endif %}</content>
|
<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>
|
</entry>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</feed>
|
</feed>
|
Loading…
Reference in New Issue