From 53d3c1be54a0241967283e8ebeceafcedf5986ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 12 Jan 2024 15:45:05 +0100 Subject: [PATCH] fix --- templates/navpages.php | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/navpages.php b/templates/navpages.php index 739f547..e7e6137 100644 --- a/templates/navpages.php +++ b/templates/navpages.php @@ -30,6 +30,7 @@ foreach($site_dirs as $site_dir){ $navpages = ""; foreach($pages_dir as $page_dir){ + $page_dir = explode(".", $page_dir)[0]; $navpage = $navpage_template; $page_class = "class=\"navpage_link\""; if($subdomain == $site_dir && $page_name == $page_dir){