mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Improve Open Graph data
This commit is contained in:
parent
45078afb2a
commit
5e23dc069e
6 changed files with 457 additions and 67 deletions
|
@ -53,7 +53,7 @@ catch(\Exception $ex){
|
|||
include(SITE_ROOT . '/www/404.php');
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => strip_tags($ebook->TitleWithCreditsHtml), 'highlight' => 'ebooks', 'description' => 'The Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description, 'jsonld' => $ebook->GenerateJsonLd()]) ?>
|
||||
?><?= Template::Header(['title' => strip_tags($ebook->TitleWithCreditsHtml), 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'The Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description, 'jsonld' => $ebook->GenerateJsonLd()]) ?>
|
||||
<main>
|
||||
<article class="ebook">
|
||||
<header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue