fix date && isotope
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* template name: archive
|
||||
*/
|
||||
$context = Timber::context();
|
||||
$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));
|
||||
|
||||
Timber::render('archive.twig', $context );
|
||||
Reference in New Issue
Block a user