aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/menu.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-04-28 19:54:45 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-01 10:33:08 +0200
commitdc214056449119b29ad7b19b8d47e81b343ff453 (patch)
treee5fbae31ed73509852d45354ab682e8c96e5c42f /theme/templates/menu.html
parentbfc347fdea8ebf0246902cbf7c95cfd5b518b4e8 (diff)
Updated theme and templates
Updated to pelican 3.2
Diffstat (limited to 'theme/templates/menu.html')
-rwxr-xr-xtheme/templates/menu.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/templates/menu.html b/theme/templates/menu.html
index 037d85a..bab98fa 100755
--- a/theme/templates/menu.html
+++ b/theme/templates/menu.html
@@ -1,6 +1,6 @@
{% macro submenu(elements, link, name) -%}
{% if elements %}
- <li class='has-sub'><a href="{{ SITEURL }}/{{link}}.html"><span>{{name}}</span></a>
+ <li class='has-sub'><span><a href="{{ SITEURL }}/{{link}}.html">{{name}}</a></span>
<ul>
{% for tag, articles in elements %}
<li><a href="{{SITEURL}}/{{tag.url}}"><span>{{ tag }}</span></a></li>
@@ -12,7 +12,7 @@
<div id="cssmenu">
<ul>
- <li class='has-sub'><a href="{{ SITEURL }}/">Articles</a>
+ <li class='has-sub'><span><a href="{{ SITEURL }}/">Articles</a></span>
<ul>
{% for article in articles %}
{% if loop.index < FEED_MAX_ITEMS %}
@@ -26,7 +26,7 @@
{{ submenu(categories, 'categories', 'Catégories') }}
- <li class='has-sub'><a href="{{ SITEURL }}/"><span>À lire</span></a>
+ <li class='has-sub'><span>À lire</span>
<ul>
{% for page in pages %}
<li><a href="{{SITEURL}}/{{page.url}}"><span>{{ page.title }}</span></a></li>