summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2025-08-11 20:31:11 -0400
committerAudric Schiltknecht <storm@chemicalstorm.org>2025-08-11 20:31:44 -0400
commit110a06e0aa84b5b8a8e280588424edf62fd099cf (patch)
treea3a75d17ba5540610df8c2d4c77c28de9c239714 /themes
parentc886955883cd81499cef6f7678e3cc75631ec09a (diff)
downloadschiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.tar.gz
schiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.tar.bz2
schiltknecht.org-110a06e0aa84b5b8a8e280588424edf62fd099cf.zip
Maj pelican & thème
Diffstat (limited to 'themes')
-rw-r--r--themes/dev-urandom/templates/includes/sidebar.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/themes/dev-urandom/templates/includes/sidebar.html b/themes/dev-urandom/templates/includes/sidebar.html
index 0910f79..b3789e8 100644
--- a/themes/dev-urandom/templates/includes/sidebar.html
+++ b/themes/dev-urandom/templates/includes/sidebar.html
@@ -3,10 +3,8 @@
<nav>
<h3>Pages</h3>
<ul>
- <li><a href="{{ SITEURL }}/index.html">Accueil</a></li>
- {% if categories %}
+ <li><a href="{{ SITEURL }}">Accueil</a></li>
<li><a href="{{ SITEURL }}/categories.html">Catégories</a></li>
- {% endif %}
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
<li><a href="{{ SITEURL }}/tags.html">Mots-clés</a></li>
{% if MENUITEMS %}
@@ -15,7 +13,7 @@
{% endfor %}
{% endif %}
{% if DISPLAY_PAGES_ON_MENU %}
- {% for p in PAGES %}
+ {% for p in pages %}
<li><a href="{{ SITEURL}}/{{ p.url }}"{% if p == page %} class="active"{% endif %}>{{ p.title }}</a></li>
{% endfor %}
{% endif %}
@@ -33,7 +31,6 @@
</nav>
{% endif %}
- {% if FEED_ATOM or FEED_RSS or SOCIAL or LINKS %}
<nav>
<h3>Liens</h3>
<ul>
@@ -55,5 +52,4 @@
{% endif %}
</ul>
</nav>
- {% endif %}
<!-- end includes/sidebar.html -->