adap function php

This commit is contained in:
2020-05-28 09:35:06 +02:00
parent 9c18a8ced4
commit 4bdbddc84d
14 changed files with 207 additions and 334 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
/**
* template name: La collecte
* template name: La collecte
*/
$context = Timber::context();
$timber_post = new Timber\Post();
$context['post'] = $timber_post;
Timber::render( array( 'page-' . $timber_post->post_name . '.twig', 'la_collecte.twig' ), $context );
Timber::render( 'la_collecte.twig', $context );