summaryrefslogtreecommitdiff
path: root/php/header.php
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-20 17:39:36 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-20 17:39:36 -0700
commitcecb9dab4feb5848eb6c6e8351cfc6a6862fb970 (patch)
treeda584b646e036f691a2a0bb208b8b6d63aa4f7f1 /php/header.php
parentfcff9dc07a06912821e6a481d233b92cc55bfdcd (diff)
Add a preprocessor
Diffstat (limited to 'php/header.php')
-rwxr-xr-xphp/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/header.php b/php/header.php
index 37d0612..3f7279b 100755
--- a/php/header.php
+++ b/php/header.php
@@ -20,7 +20,7 @@
require_once ROOT . '/php/replace.php';
$targets = [
- '{{navbar}}' => file_get_contents(ROOT . '/html/navbar.html')
+ '{{navbar}}' => import(ROOT . '/html/navbar.html')
];
$html = replace(ROOT . '/html/header.html', $targets);