This commit is contained in:
2019-07-16 01:03:26 +02:00
parent c66917c9a0
commit 8c9e1bc509
242 changed files with 5638 additions and 1288 deletions
@@ -1,24 +1,5 @@
{% set feed_url = blog.url == '/' or blog.url == base_url_relative ? (base_url_relative~'/'~blog.slug) : blog.url %}
{% set new_base_url = blog.url == '/' ? '' : blog.url %}
<div class="sidebar-left">
{% set options = { items: {'@page': '/contact' } } %}
{% set my_collection = page.collection(options) %}
<ul>
{% for p in my_collection %}
<a href="{{p.url}}"><li>{{ p.title }}</li></a>
{% endfor %}
</ul>
</div>
<div class="sidebar-right">
{% set options = { items: {'@page': '/projets' } } %}
{% set my_collection = page.collection(options) %}
<ul>
{% include 'partials/taxonomylist.html.twig' with {'base_url': new_base_url, 'taxonomy':'category'} %}
<!-- {% for i in my_collection %}
<li>{{i.title}}</li>
{% endfor %} -->
</ul>
<div class="list-projets">
{% include 'partials/taxonomylist.html.twig' with { 'taxonomy':'category'} %}
</div>
</div>