Merge pull request #307 from kriwil/header-category-link

Fixed hardcoded category url in base.html in default themes
This commit is contained in:
Kyle Fuller 2012-04-15 06:48:01 -07:00
commit 51d0e83a21

View file

@ -35,7 +35,7 @@
{% endfor %}
{% endif %}
{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
</ul></nav>
</header><!-- /#banner -->