aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/resources/templates/views/macros/tags.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/resources/templates/views/macros/tags.html')
-rw-r--r--juick-server/src/main/resources/templates/views/macros/tags.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/juick-server/src/main/resources/templates/views/macros/tags.html b/juick-server/src/main/resources/templates/views/macros/tags.html
index 09278ffe..1e668292 100644
--- a/juick-server/src/main/resources/templates/views/macros/tags.html
+++ b/juick-server/src/main/resources/templates/views/macros/tags.html
@@ -2,4 +2,10 @@
{% for tag in tagsList %}
<a href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag | raw }}</a>
{% endfor %}
+{% endmacro %}
+
+{% macro allTags(baseUri, tagsList) %}
+{% for tag in tagsList %}
+<a href="{{ baseUri }}tag/{{ tag | urlencode }}">{{ tag | raw }}</a>
+{% endfor %}
{% endmacro %} \ No newline at end of file