aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/macros
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-06-05 12:01:23 +0300
committerGravatar Vitaly Takmazov2020-06-05 12:01:23 +0300
commit83242541b9503c466eb416f408649bd3845e112d (patch)
tree1ee88485c291ea49fcabb5ee18c79bf6c610368b /src/main/resources/templates/views/macros
parent47225702228c92f2d8ecde59ad6c17790acd228d (diff)
Use *tag in tag searches
Diffstat (limited to 'src/main/resources/templates/views/macros')
-rw-r--r--src/main/resources/templates/views/macros/tags.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html
index 08687f5a..7d8a5fe1 100644
--- a/src/main/resources/templates/views/macros/tags.html
+++ b/src/main/resources/templates/views/macros/tags.html
@@ -1,11 +1,11 @@
{% macro tags(uname="", tagsList) %}
{% for tag in tagsList %}
-<a href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>
+<a href="/{{ uname }}/?tag=*{{ tag | urlencode }}">{{ tag }}</a>
{% endfor %}
{% endmacro %}
{% macro allTags(baseUri, tagsList) %}
{% for tag in tagsList %}
-<a href="{{ baseUri }}tag/{{ tag | urlencode }}">#{{ tag }}</a>
+<a href="{{ baseUri }}tag/*{{ tag | urlencode }}">#{{ tag }}</a>
{% endfor %}
{% endmacro %} \ No newline at end of file