correction

This commit is contained in:
2020-06-20 12:43:15 +02:00
parent 3aab5bcbca
commit cf57304339
12 changed files with 189 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ $args = array(
'post_type' => 'post',
'post_status'=>'publish',
);
$context['post'] = Timber::get_post();
$context['posts'] = Timber::get_posts( $args );
$context['terms'] = Timber::get_terms(array( 'taxonomy'=> 'category', 'hide_empty' => true, 'parent' => 0));