test
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<?php
|
||||
|
||||
$timber_post = new Timber\Post();
|
||||
$context['posts'] = new Timber\PostQuery();
|
||||
|
||||
$context['post'] = $timber_post;
|
||||
|
||||
$context = Timber::context();
|
||||
$timber_post = new Timber\Post();
|
||||
$context['posts'] = new Timber\PostQuery();
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'post',
|
||||
@@ -13,4 +11,4 @@ $args = array(
|
||||
|
||||
$context['posts'] = Timber::get_posts( $args );
|
||||
|
||||
Timber::render( array( 'agenda.twig' ), $context );
|
||||
Timber::render( ['agenda.twig'] , $context );
|
||||
|
||||
Reference in New Issue
Block a user