flick fade home

This commit is contained in:
2020-06-26 11:57:45 +02:00
parent 5c09b19274
commit 02a856556d
6 changed files with 287 additions and 4 deletions
+2 -1
View File
@@ -3,12 +3,13 @@
* template name: agenda
*/
$context = Timber::context();
$timber_post = new Timber\Post();
$context['term_page'] = new Timber\Term();
$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));