Source

remarkz / templates / macroses.jinja

Full commit
1
2
3
4
5
6
{%- macro show_tags(tags) -%}
{%- for tag in tags -%}
<span class="info"><a href="{{ url_for('main', tags=tag) }}">{{ tag|e }}</a></span>{% if not loop.last %}, {% endif %}
{%- endfor -%}
{%- endmacro -%}