Don't output OG header data for 404 pages

This commit is contained in:
Alex Cabal 2022-09-23 13:57:52 -05:00
parent 1be895212c
commit f1352ec215
2 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'We Couldnt Find That Document', 'highlight' => '', 'description' => 'We couldnt find that document.']) ?>
?><?= Template::Header(['title' => 'We Couldnt Find That Document', 'highlight' => '', 'description' => 'We couldnt find that document.', 'is404' => true]) ?>
<main>
<section class="narrow has-hero">
<hgroup>