aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/menu.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-04-21 21:25:41 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-04-22 22:15:36 +0200
commite27cca7f72744a79671f40df7ed6e7f3520143b2 (patch)
treed64a5c155911dd4dee53a9369b37198e319d79eb /theme/templates/menu.html
parentcbf9db14f3027ffe40021533fd1df4bd8ac34327 (diff)
Added a resume on the blog in static page
Diffstat (limited to 'theme/templates/menu.html')
-rwxr-xr-xtheme/templates/menu.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/theme/templates/menu.html b/theme/templates/menu.html
index 5aca0f7..037d85a 100755
--- a/theme/templates/menu.html
+++ b/theme/templates/menu.html
@@ -26,9 +26,19 @@
{{ submenu(categories, 'categories', 'Catégories') }}
- {% if LINKS %}
- {{ submenu(LINKS, 'index', 'Liens') }}
- {% endif %}
+ <li class='has-sub'><a href="{{ SITEURL }}/"><span>À lire</span></a>
+ <ul>
+ {% for page in pages %}
+ <li><a href="{{SITEURL}}/{{page.url}}"><span>{{ page.title }}</span></a></li>
+ {% endfor %}
+ {% if pages and LINKS %}
+ <hr/>
+ {% endif %}
+ {% for link, target in LINKS %}
+ <li><a href="{{target}}"><span>{{ link }}</span></a></li>
+ {% endfor %}
+ </ul>
+ </li>
{#