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){