sts-api/data/templates/xml.blocks.rss2.item.xml.jinja
2023-02-02 02:47:12 +00:00

14 lines
399 B
Django/Jinja

<item>
<title>{{ item.title }}</title>
<link>{{ item.link }}</link>
<description>{{ item.description|e }}</description>
{% if item.author != "None" %}
<author>{{ item.author }}</author>
{% endif %}
{% if item.tags %}
<category>{{ item.tags|join('/') }}</category>
{% endif %}
{% if item.indexDate != "None" %}
<pubDate>{{ item.indexDate }}</pubDate>
{% endif %}
</item>