mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Update some titles for SEO
This commit is contained in:
parent
d76de5b166
commit
9d8ee504e2
2 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ catch(\Exception $ex){
|
||||||
include(WEB_ROOT . '/404.php');
|
include(WEB_ROOT . '/404.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
?><?= Template::Header(['title' => strip_tags($ebook->TitleWithCreditsHtml), 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'The Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description]) ?>
|
?><?= 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]) ?>
|
||||||
<main>
|
<main>
|
||||||
<article class="ebook" typeof="schema:Book" about="<?= $ebook->Url ?>">
|
<article class="ebook" typeof="schema:Book" about="<?= $ebook->Url ?>">
|
||||||
<meta property="schema:bookFormat" content="EBook"/>
|
<meta property="schema:bookFormat" content="EBook"/>
|
||||||
|
|
|
@ -73,9 +73,9 @@ try{
|
||||||
$collectionType = '';
|
$collectionType = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$pageTitle = 'Browse ebooks in the ' . Formatter::ToPlainText($collectionName) . $collectionType;
|
$pageTitle = 'Browse free ebooks in the ' . Formatter::ToPlainText($collectionName) . $collectionType;
|
||||||
$pageDescription = 'A list of ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType;
|
$pageDescription = 'A list of free ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType;
|
||||||
$pageHeader = 'Ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType;
|
$pageHeader = 'Free ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
throw new InvalidCollectionException();
|
throw new InvalidCollectionException();
|
||||||
|
@ -94,7 +94,7 @@ try{
|
||||||
if($page > 1){
|
if($page > 1){
|
||||||
$pageTitle .= ', page ' . $page;
|
$pageTitle .= ', page ' . $page;
|
||||||
}
|
}
|
||||||
$pageDescription = 'Page ' . $page . ' of the Standard Ebooks ebook library';
|
$pageDescription = 'Page ' . $page . ' of the Standard Ebooks free ebook library';
|
||||||
|
|
||||||
$queryString = '';
|
$queryString = '';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue