ajax
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user