diff options
Diffstat (limited to 'notmyidea-cms/templates/base.html')
-rw-r--r-- | notmyidea-cms/templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html index 8f3d20e..02833f6 100644 --- a/notmyidea-cms/templates/base.html +++ b/notmyidea-cms/templates/base.html @@ -37,7 +37,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 --> @@ -50,7 +50,7 @@ <h2>Categories</h2> <ul> {% 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> </div> |