aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms-fr/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'notmyidea-cms-fr/templates/base.html')
-rw-r--r--notmyidea-cms-fr/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms-fr/templates/base.html b/notmyidea-cms-fr/templates/base.html
index 12db9ca..b954762 100644
--- a/notmyidea-cms-fr/templates/base.html
+++ b/notmyidea-cms-fr/templates/base.html
@@ -38,7 +38,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 -->
@@ -51,7 +51,7 @@
<h2>Catégories</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>