This commit is contained in:
2020-06-14 15:59:06 +02:00
parent 4e25309391
commit 1fb5efd7dc
6 changed files with 29 additions and 45 deletions
+2
View File
@@ -7,8 +7,10 @@ $timber_post = new Timber\Post();
$args = array(
'post_type' => 'post',
'post_status'=>'publish',
);
$context['posts'] = Timber::get_posts( $args );
$context['terms'] = Timber::get_terms(array( 'taxonomy'=> 'category', 'hide_empty' => true, 'parent' => 0));
Timber::render('agenda.twig', $context );