Browse Source

Make tags clickable in other places like /user and /search

merge-requests/60/head
Bauke 6 years ago
committed by Deimos
parent
commit
ba55313ca0
  1. 2
      tildes/tildes/templates/macros/topics.jinja2

2
tildes/tildes/templates/macros/topics.jinja2

@ -48,7 +48,7 @@
{% if request.matched_route.name in ('home', 'group') %} {% if request.matched_route.name in ('home', 'group') %}
{{ topic_tag(tag, request.current_listing_normal_url({'tag': tag.replace(' ', '_')})) }} {{ topic_tag(tag, request.current_listing_normal_url({'tag': tag.replace(' ', '_')})) }}
{% else %} {% else %}
{{ topic_tag(tag) }}
{{ topic_tag(tag, request.route_url('home', _query=[('tag', tag.replace(' ', '_'))])) }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>

Loading…
Cancel
Save