aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to 'lightweight/templates/sidebar.html')
-rw-r--r--lightweight/templates/sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/lightweight/templates/sidebar.html b/lightweight/templates/sidebar.html
index d73fa91..8e25cbf 100644
--- a/lightweight/templates/sidebar.html
+++ b/lightweight/templates/sidebar.html
@@ -6,7 +6,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>
@@ -16,7 +16,7 @@
<h2>Mots-clés:</h2>
<ul>
{% for tag in article.tags %}
- <li><a href="{{SITEURL}}/tag/{{tag}}.html">{{ tag }}</a></li>
+ <li><a href="{{SITEURL}}/{{tag.url}}">{{ tag }}</a></li>
{% endfor %}
<li><a class="more" href="{{SITEURL}}/tags.html">Plus...</a></li>
</ul>