summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
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 -->