add sidebar

This commit is contained in:
2018-12-14 14:57:42 +01:00
parent 6accae1acd
commit ed77d6eb2b
6 changed files with 33 additions and 45 deletions
@@ -41,3 +41,17 @@
{% if config.plugins.feed.enable_json_feed %}<a class="btn" href="{{ feed_url }}.json"><i class="fa fa-rss-square"></i> JSON</a>{% endif %}
</div>
{% endif %}
<div class="sidebar-left">
</div>
<div class="sidebar-right">
{% set options = { items: {'@page': '/projets' } } %}
{% set my_collection = page.collection(options) %}
<ul>
{% for p in my_collection %}
<a href="{{p.url}}"><li>{{ p.title }}</li></a>
{% endfor %}
</ul>
</div>