agenda.php 319 B

12345678910111213141516
  1. <?php
  2. /**
  3. * template name: agenda
  4. */
  5. $context = Timber::context();
  6. $context['term_page'] = new Timber\Term();
  7. $args = array(
  8. 'post_type' => 'post',
  9. 'post_status'=>'publish',
  10. );
  11. $context['post'] = Timber::get_post();
  12. $context['posts'] = Timber::get_posts( $args );
  13. Timber::render('agenda.twig', $context );