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 %} {% for item in items %}
{% if loop.length > 1 and loop.index == loop.length %}and {% endif %} <dc:creator>
{{ item.content }}{% if loop.length > 2 and not loop.last %}, {% endif %} {{ item.content }}
</dc:creator>
{% endfor %} {% endfor %}
</dc:creator>