Browse Source

Fixed macro generating parent forums list

Ralfp 12 years ago
parent
commit
687c7f52e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/cranefly/macros.html

+ 1 - 1
templates/cranefly/macros.html

@@ -47,7 +47,7 @@ itemprop="breadcrumb"
 
 {% macro parents_list(forums) -%}
 {% for forum in forums %}
-{% if loop.first %}{% url 'index' %}#{{ forum.slug }}{% else %}<li><a href="{{ forum.type|url(forum=forum.pk, slug=forum.slug) }}{% endif %}">{{ forum.name }}</a> <span class="divider"><i class="icon-chevron-right"></i></span></li>
+<li><a href="{% if loop.first %}{% url 'index' %}#{{ forum.slug }}{% else %}{{ forum.type|url(forum=forum.pk, slug=forum.slug) }}{% endif %}">{{ forum.name }}</a> <span class="divider"><i class="icon-chevron-right"></i></span></li>
 {% endfor %}
 {%- endmacro %}