Browse Source

Fix topic tags not being linked in listings

Whoops, accidentally changed a period to an underscore.
merge-requests/55/head
Deimos 6 years ago
parent
commit
0260c60d89
  1. 2
      tildes/tildes/templates/macros/topics.jinja2

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

@ -40,7 +40,7 @@
{% if topic.tags %}
<ul class="topic-tags">
{% for tag in topic.tags %}
{% 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(' ', '_')})) }}
{% else %}
{{ topic_tag(tag) }}

Loading…
Cancel
Save