<?php /** * template name: Accueil */ $context = Timber::context(); $timber_post = new Timber\Post(); $context['post'] = $timber_post; Timber::render( array( 'page-' . $timber_post->post_name . '.twig', 'accueil.twig' ), $context );