summaryrefslogtreecommitdiffstats
path: root/themes/dev-urandom/templates
diff options
context:
space:
mode:
Diffstat (limited to 'themes/dev-urandom/templates')
-rw-r--r--themes/dev-urandom/templates/includes/sidebar.html6
-rw-r--r--themes/dev-urandom/templates/page.html2
2 files changed, 6 insertions, 2 deletions
diff --git a/themes/dev-urandom/templates/includes/sidebar.html b/themes/dev-urandom/templates/includes/sidebar.html
index 0d5d5ef..0910f79 100644
--- a/themes/dev-urandom/templates/includes/sidebar.html
+++ b/themes/dev-urandom/templates/includes/sidebar.html
@@ -3,8 +3,10 @@
<nav>
<h3>Pages</h3>
<ul>
- <li><a href="{{ SITEURL }}">Accueil</a></li>
+ <li><a href="{{ SITEURL }}/index.html">Accueil</a></li>
+ {% if categories %}
<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 %}
@@ -31,6 +33,7 @@
</nav>
{% endif %}
+ {% if FEED_ATOM or FEED_RSS or SOCIAL or LINKS %}
<nav>
<h3>Liens</h3>
<ul>
@@ -52,4 +55,5 @@
{% endif %}
</ul>
</nav>
+ {% endif %}
<!-- end includes/sidebar.html -->
diff --git a/themes/dev-urandom/templates/page.html b/themes/dev-urandom/templates/page.html
index b52c807..7a69347 100644
--- a/themes/dev-urandom/templates/page.html
+++ b/themes/dev-urandom/templates/page.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
-{% block title %}{{ super() }} — {{ page.url }}{% endblock title %}
+{% block title %}{{ super() }} — {{ page.title }}{% endblock title %}
{%- block content %}
<h1>{{ page.title }}</h1>