Per RSS conventions multiple authors means multiple dc:creator tags

See http://www.rssboard.org/rss-profile
This commit is contained in:
benjamin melançon 2019-01-19 22:01:41 -05:00
parent 253e6e9716
commit 8c3e1dcc88

View file

@ -1,6 +1,5 @@
<dc:creator>
{% for item in items %}
{% if loop.length > 1 and loop.index == loop.length %}and {% endif %}
{{ item.content }}{% if loop.length > 2 and not loop.last %}, {% endif %}
{% endfor %}
<dc:creator>
{{ item.content }}
</dc:creator>
{% endfor %}