<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * To generate specific templates for your pages you can use:
 * /mytheme/blended_templates/page-mypage.html
 * (which will still route through this PHP file)
 * OR
 * /mytheme/page-mypage.php
 * (in which case you'll want to duplicate this file and save to the above path) 
 */

$context = Timber::get_context();
$templates = array( 'index.html', 'home.html' );

if ( is_home() ) {
	array_unshift( $templates, 'posts.html' );
}

Timber::render( $templates, $context );
