add template

This commit is contained in:
2020-05-20 15:58:33 +02:00
parent cf7a95d818
commit c602563e67
85 changed files with 36637 additions and 375 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
<?php
/**
* Template Name: agenda
* template name: Agenda
*/
$context = Timber::context();
$timber_post = new Timber\Post();
$context['post'] = $timber_post;
Timber::render( array( 'page-' . $timber_post->post_name . '.twig', 'page.twig' ), $context );
Timber::render( array( 'page-' . $timber_post->post_name . '.twig', 'agenda.twig' ), $context );