aboutsummaryrefslogtreecommitdiff
path: root/src/main
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
parent47225702228c92f2d8ecde59ad6c17790acd228d (diff)
Use *tag in tag searches
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/templates/views/macros/tags.html4
-rw-r--r--src/main/resources/templates/views/partial/tags.html2
2 files changed, 3 insertions, 3 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
diff --git a/src/main/resources/templates/views/partial/tags.html b/src/main/resources/templates/views/partial/tags.html
index 4d05b7fb..1dcb6127 100644
--- a/src/main/resources/templates/views/partial/tags.html
+++ b/src/main/resources/templates/views/partial/tags.html
@@ -1,3 +1,3 @@
{% for tag in tags %}
- <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a>
+ <a href="/tag/*{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a>
{% endfor %} \ No newline at end of file