blog/webapp/templates/blog_post/_list_item.html
2021-05-01 16:19:02 +02:00

14 lines
518 B
HTML

<li>
<a href="{{ url_for('get_blog_post', uuid=instance.id) }}">
{% include "blog_post/_title.html" %}</a>
{% include "blog_post/_actions.html" %}
{% if instance.tags %}
<ul>
<li>
<small><i>{{ _("Tags") }}: {% for tag in instance.tags %}
<a href="{{ url_for('get_tag', uuid=tag.id) }}">{{ tag.name }}</a>{% if not loop.last %},
{% endif %} {% endfor %}</i></small><br>
</li>
</ul>
{% endif %}
</li>