diff --git a/404.php b/404.php index b163df2..0f2b674 100644 --- a/404.php +++ b/404.php @@ -1,10 +1,13 @@ title = "404 Not Found"; -$page_meta->desc = "This page has not been found."; +$ssg = new AtasSsg(__DIR__); +$ssg->pageMeta->selectedTab = $tpl->meta->selectedTab ?? "home"; + +$ssg->pageMeta->title = "404 Not Found"; +$ssg->pageMeta->desc = "This page has not been found."; require_once 'layout/header.php'; ?> diff --git a/index.php b/index.php index 05d99f8..a020f7a 100644 --- a/index.php +++ b/index.php @@ -1,9 +1,6 @@