mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Replace Template::Emit...() functions with more generic function
This commit is contained in:
parent
f449c024ea
commit
806939ca49
40 changed files with 86 additions and 68 deletions
|
@ -75,7 +75,7 @@ catch(Exceptions\EbookNotFoundException){
|
|||
exit();
|
||||
}
|
||||
|
||||
Template::Emit404();
|
||||
Template::ExitWithCode(Enums\HttpCode::NotFound);
|
||||
}
|
||||
?><?= Template::Header(['title' => strip_tags($ebook->TitleWithCreditsHtml) . ' - Free ebook download', 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'Free epub ebook download of the Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description, 'canonicalUrl' => SITE_URL . $ebook->Url]) ?>
|
||||
<main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue