diff options
author | Vitaly Takmazov | 2020-06-05 12:05:40 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-06-05 12:05:40 +0300 |
commit | 63a52408f430cb2109943c18c37adef5c3bd8da0 (patch) | |
tree | 4803bd676455e189a0c97dc05f286948c2b53957 | |
parent | 83242541b9503c466eb416f408649bd3845e112d (diff) |
Revert "Use *tag in tag searches"
This reverts commit 83242541b9503c466eb416f408649bd3845e112d.
-rw-r--r-- | src/main/resources/templates/views/macros/tags.html | 4 | ||||
-rw-r--r-- | src/main/resources/templates/views/partial/tags.html | 2 |
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 7d8a5fe1..08687f5a 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 1dcb6127..4d05b7fb 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 |