Add backend logic
This commit is contained in:
4
page.php
4
page.php
@ -17,4 +17,6 @@ $context = Timber::context();
|
||||
|
||||
$timber_post = Timber::get_post();
|
||||
$context['post'] = $timber_post;
|
||||
Timber::render( array( 'templates/page-' . $timber_post->post_name . '.twig', 'page.twig' ), $context );
|
||||
//Timber::render( array( 'templates/page-' . $timber_post->post_name . '.twig', 'page.twig' ), $context );
|
||||
|
||||
Timber::render( array( 'templates/page-' . $timber_post->post_name . '.twig' ), $context );
|
Reference in New Issue
Block a user