adap function php
This commit is contained in:
@@ -18,6 +18,6 @@ $context['posts'] = new Timber\PostQuery();
|
||||
|
||||
$templates = array( 'base.twig' );
|
||||
if ( is_home() ) {
|
||||
array_unshift( $templates, 'front-page.twig', 'accueil.twig' );
|
||||
array_unshift(' accueil.twig' );
|
||||
}
|
||||
Timber::render( $templates, $context );
|
||||
|
||||
Reference in New Issue
Block a user