site title format
All checks were successful
Deploy / Deploy to Production (push) Successful in 19s

This commit is contained in:
isUnknown 2026-03-18 16:20:47 +01:00
parent 474baf321b
commit 42ee58c18d
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?= $page->meta_title()->or($page->title() . ' - ' . $site->site_title()) ?></title> <title><?= $site->title() ?> - <?= $page->title() ?></title>
<meta name="description" content="<?= $page->meta_description()->or($site->site_description()) ?>"> <meta name="description" content="<?= $page->meta_description()->or($site->site_description()) ?>">
<!-- Favicon --> <!-- Favicon -->

View file

@ -95,7 +95,7 @@ export function slideTo(path, { skipHistory = false } = {}) {
const slidePath = idx !== -1 ? slides.all[idx].path : path; const slidePath = idx !== -1 ? slides.all[idx].path : path;
if (idx !== -1 && slides.all[idx].title) { if (idx !== -1 && slides.all[idx].title) {
document.title = `${slides.all[idx].title} — World Game`; document.title = `World Game - ${slides.all[idx].title}`;
} }
slides.slideTo(slidePath); slides.slideTo(slidePath);