16 lines
393 B
HTML
16 lines
393 B
HTML
{% for source in data_sources %}
|
|
{% if plugin.debug %}
|
|
<pre style="white-space: pre-wrap">
|
|
Url: {{ source.url }}
|
|
Content:
|
|
|
|
{{ source.content|pprint }}
|
|
|
|
</pre>
|
|
{% elif source.kind == 'rss' %}
|
|
{% for entry in source.content.entries|dictsort:"updated_parsed" %}
|
|
<p><a href="{{ entry.link }}">{{ entry.title }}</a></p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|