diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-04 13:40:21 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-05 11:06:20 +0100 |
commit | 1cad4c9044d47c6653d804d7fb58581d92f96cc8 (patch) | |
tree | 9696b75a4288976a00dbfc694090768ac93cdd14 /theme/templates/menu.html | |
parent | 0c09a00a0b298cbd3bbd0082cc1026e22db9b1c5 (diff) |
Change organisation
Diffstat (limited to 'theme/templates/menu.html')
-rwxr-xr-x | theme/templates/menu.html | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/theme/templates/menu.html b/theme/templates/menu.html deleted file mode 100755 index 28bc1e7..0000000 --- a/theme/templates/menu.html +++ /dev/null @@ -1,65 +0,0 @@ -{% macro submenu(elements, link, name) -%} - {% if elements %} - <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> - {% endfor %} - </ul> - </li> - {% endif %} -{%- endmacro %} - -<div id="cssmenu"> -<ul> - <li class='has-sub'><span><a href="{{ SITEURL }}/">Articles</a></span> - <ul> - {% for article in articles %}{% if loop.index <= FEED_MAX_ITEMS %} - <li><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></li> - {% endif %}{% endfor %} - <hr/> - <li><a href="{{ SITEURL }}/archives.html">Archives</a> - </ul> - </li> - - {{ submenu(categories, 'categories', 'Catégories') }} - - {% if pages %} - <li class='has-sub'><span>À lire</span> - <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> - {% endif %} - - -{# - {% if FEED or FEED_RSS %} - <li class='has-sub'><a href="{{ SITEURL }}/#">S'abonner</a> - <ul> - {% if FEED %} - <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux ATOM</a></li> - {% endif %} - {% if FEED_RSS %} - <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li> - {% endif %} - - {% if categories %} - {% for category, articles in categories %} - <li><a href="{{SITEURL}}/{{CATEGORY_FEED_ATOM % (category)}}"><span>{{ category }}</span></a></li>{% endfor %} - {% endif %} - </ul> - </li> - {% endif %} -#} - -</ul> -</div> |