mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 07:14:59 -04:00
Don't output OG header data for 404 pages
This commit is contained in:
parent
1be895212c
commit
f1352ec215
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
|
||||
?><?= Template::Header(['title' => 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.']) ?>
|
||||
?><?= Template::Header(['title' => 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.', 'is404' => true]) ?>
|
||||
<main>
|
||||
<section class="narrow has-hero">
|
||||
<hgroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue