summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-03-10 16:13:52 +0100
committerDaniel Weipert <code@drogueronin.de>2021-03-10 16:13:52 +0100
commit9b8832902cc1a51b5c6e2e0890c576372a60e5e1 (patch)
treee7f1db7c2e920b63bde306fda71c187d44a7c6c1 /index.php
Initial commitHEADv1.0.0main
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
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);