diff options
author | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-05-09 13:09:07 +0200 |
---|---|---|
committer | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-06-04 22:31:18 +0200 |
commit | 59ec33cded4be492660677a93265004e03cdac4c (patch) | |
tree | daac8591b8a38f57d1516a3ffd6b9789392e290f /themes/dev-urandom/templates | |
parent | e49caca57a4db984019cba1aafd4b4a338f6aacf (diff) | |
download | schiltknecht.org-59ec33cded4be492660677a93265004e03cdac4c.tar.gz schiltknecht.org-59ec33cded4be492660677a93265004e03cdac4c.tar.bz2 schiltknecht.org-59ec33cded4be492660677a93265004e03cdac4c.zip |
Modifications du thème
* Suppression fichiers inutiles
* Modifications CSS pour afficher les field list
* Modifications templates pour ne pas afficher les sites liés ou les catégories
s'il n'y en a pas.
Diffstat (limited to 'themes/dev-urandom/templates')
-rw-r--r-- | themes/dev-urandom/templates/includes/sidebar.html | 6 | ||||
-rw-r--r-- | themes/dev-urandom/templates/page.html | 2 |
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> |