Fixed hardcoded category url in base.html.

This commit is contained in:
Aldiantoro Nugroho 2012-04-10 17:30:42 +08:00
commit 424cfe1b1e

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 -->