mirror of
https://github.com/danbulant/Mangades
synced 2026-06-20 23:01:28 +00:00
Fix page title
This commit is contained in:
parent
fbd470a8db
commit
d2cbfb4626
1 changed files with 5 additions and 3 deletions
|
|
@ -13,6 +13,8 @@
|
|||
$: manga = scoped.manga;
|
||||
var atHome = scoped.atHome;
|
||||
$: atHome = scoped.atHome;
|
||||
var title = manga.title.en || manga.title.jp || Object.values(manga.title)[0];
|
||||
$: title = manga.title.en || manga.title.jp || Object.values(manga.title)[0];
|
||||
|
||||
var quality = "data";
|
||||
|
||||
|
|
@ -178,8 +180,8 @@
|
|||
<svelte:window on:keydown={keydown} on:keyup={keyup} on:resize={isZooming} />
|
||||
|
||||
<svelte:head>
|
||||
<title>{manga.title.en} Chapter {chapter.data.attributes.chapter} Page {page}</title>
|
||||
<meta name="description" value="Read page {page} of chapter {chapter.data.attributes.chapter} of {manga.title.en} online. Free of charge and ads." />
|
||||
<title>{title} Chapter {chapter.data.attributes.chapter} Page {page}</title>
|
||||
<meta name="description" value="Read page {page} of chapter {chapter.data.attributes.chapter} of {title} online. Free of charge and ads." />
|
||||
</svelte:head>
|
||||
|
||||
<div class="top">
|
||||
|
|
@ -243,4 +245,4 @@
|
|||
background: white;
|
||||
border-radius: 0 5px 0 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue