categories page done

This commit is contained in:
Bachir Soussi Chiadmi
2016-02-17 15:51:38 +01:00
parent 34a6f5e1a8
commit 9cb3299b83
8 changed files with 67 additions and 29 deletions
@@ -7,7 +7,7 @@
{% for child in page.collection %}
{% if child.header.home == true %}
<section class="projet-block projet-block-img grid-block columns xlarge-3 large-4 medium-6 small-12">
{% include 'partials/projet-block.html.twig' with {'page':child,'display':'img'} %}
{% include 'partials/projet-block.html.twig' with {'page':child,'display':'img', 'context':'home'} %}
</section>
{% endif %}
{% endfor %}