Commit 0dd8cecf authored by fred's avatar fred
Browse files

link from emission/episode navbar to categories

parent 1619f1e7
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
{% if emission.categories %} {% if emission.categories %}
<div class="categories"> <div class="categories">
{% for category in emission.categories.all %} {% for category in emission.categories.all %}
<span class="icon-{{category|slugify}}"></span>&nbsp;<span>{{category}}</span> <a href="{% url 'emissions' %}?q={{category.slug}}"><span class="icon-{{category|slugify}}"></span>&nbsp;<span>{{category}}</span></a>
{% endfor%} {% endfor%}
</div> </div>
{% endif %} {% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment