aboutsummaryrefslogtreecommitdiffstats
path: root/404.php
diff options
context:
space:
mode:
Diffstat (limited to '404.php')
-rw-r--r--404.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/404.php b/404.php
index a90803b..2da35cc 100644
--- a/404.php
+++ b/404.php
@@ -15,7 +15,7 @@ http_response_code(404);
try {
$MainTemplate = Template\Factory::build('main');
$MainTemplate->set('NAME', '404 Not Found');
- $MainTemplate->set('HEAD', ['NAME' => '404 Not Found']);
+ $MainTemplate->set('HEAD', ['NAME' => $MainTemplate->get('NAME')]);
$MainTemplate->set('HTML', Template\Factory::build('404'));
echo $MainTemplate;