blob: c52847fc11b896432d773f7edf2b211190f839e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{% macro tags(uname="", tagsList) %}
{% for tag in tagsList %}
<a class="hashtag" href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>
{% endfor %}
{% endmacro %}
{% macro allTags(baseUri, tagsList) %}
{% for tag in tagsList %}
<a class="hashtag" href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>
{% endfor %}
{% endmacro %}
|