coming together
All checks were successful
Build and push / Pulling repo on server (push) Successful in 24s

This commit is contained in:
2023-10-21 21:30:20 +02:00
parent bf101b3b26
commit 927d498d4a
7 changed files with 20 additions and 9 deletions

View File

@ -5,7 +5,7 @@ class Err extends Page {
function notfound($params)
{
$this->set("page",$params[0]);
$this->set('template', "notfound.mustache");
$this->set('template', "notfound.html");
}
function notallowed()
@ -13,8 +13,4 @@ class Err extends Page {
return json_encode(['error'=>'not allowed']);
}
function maySeeThisPage()
{
return true;
}
}

View File

@ -1,4 +1,4 @@
<div class="bg-red-100 border-l-4 border-red-500 text-red-700 p-4" role="alert">
<p class="font-bold">404 - Not found</p>
<p>I have no memory of {{page}}</p>
<p>I have no memory of <?= escape($page) ?></p>
</div>