correction && add form && add slide && add masonry && css
This commit is contained in:
@@ -4,9 +4,14 @@
|
||||
*/
|
||||
|
||||
$context = Timber::context();
|
||||
|
||||
$timber_post = new Timber\Post();
|
||||
$context['post'] = $timber_post;
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'les-projets',
|
||||
'post_status'=>'publish',
|
||||
);
|
||||
|
||||
Timber::render( 'les_projets.twig', $context );
|
||||
$context['posts'] = Timber::get_posts( $args );
|
||||
$context['post'] = Timber::get_post( );
|
||||
|
||||
Timber::render('les_projets.twig', $context );
|
||||
|
||||
Reference in New Issue
Block a user