summaryrefslogtreecommitdiff
path: root/includes/template.php
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-07-28 10:58:58 -0400
committer53hornet <atc@53hor.net>2021-07-28 10:58:58 -0400
commitbfaccc32571df8a02f69518d8864244efba3b5b5 (patch)
treecc71a44054af00e73d0db2a1c79c347db3f31327 /includes/template.php
parentdd75b4a341925e4ba3408b018941241d4317dd9f (diff)
download53hor-bfaccc32571df8a02f69518d8864244efba3b5b5.tar.xz
53hor-bfaccc32571df8a02f69518d8864244efba3b5b5.zip
php site, templating and partials, faster index generation
Diffstat (limited to 'includes/template.php')
-rw-r--r--includes/template.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/template.php b/includes/template.php
new file mode 100644
index 0000000..5ff90f4
--- /dev/null
+++ b/includes/template.php
@@ -0,0 +1,6 @@
+<?php
+$title = "{{title}}";
+if (isset($early) && $early) {
+ return;
+}
+include($_SERVER['DOCUMENT_ROOT'] . '/includes/head.php');