1 | <?php |
||
2 | |||
3 | use Timber\Timber; |
||
4 | use Timber\PostQuery; |
||
5 | use Flynt\Utils\Options; |
||
6 | |||
7 | use const Flynt\Archives\POST_TYPES; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
8 | |||
9 | $context = Timber::get_context(); |
||
10 | $context['posts'] = new PostQuery(); |
||
11 | |||
12 | if (isset($_GET['contentOnly'])) { |
||
13 | $context['contentOnly'] = true; |
||
14 | } |
||
15 | |||
16 | Timber::render('templates/index.twig', $context); |
||
17 |