diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-04-21 21:25:41 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-04-22 22:15:36 +0200 |
commit | e27cca7f72744a79671f40df7ed6e7f3520143b2 (patch) | |
tree | d64a5c155911dd4dee53a9369b37198e319d79eb /theme/templates/menu.html | |
parent | cbf9db14f3027ffe40021533fd1df4bd8ac34327 (diff) |
Added a resume on the blog in static page
Diffstat (limited to 'theme/templates/menu.html')
-rwxr-xr-x | theme/templates/menu.html | 16 |
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> {# |