diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-03-10 16:13:52 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-03-10 16:13:52 +0100 |
commit | 9b8832902cc1a51b5c6e2e0890c576372a60e5e1 (patch) | |
tree | e7f1db7c2e920b63bde306fda71c187d44a7c6c1 /index.php |
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..38c8671 --- /dev/null +++ b/index.php @@ -0,0 +1,8 @@ +<?php + +$context = \Timber\Timber::context(); +$templates = ['index.twig']; + +$context['posts'] = new \Timber\PostQuery(); + +\Timber\Timber::render($templates, $context); |