Fix articles

This commit is contained in:
2024-02-22 18:16:42 +01:00
parent c905e929f6
commit 37d8577629
10 changed files with 20 additions and 10 deletions

View File

@@ -41,6 +41,9 @@ function generateNavigation(): string
$site_location = "/" . $site_dir . "/" . $routerConfig["default_page"];
$stnm = $routerRequest["site_name"];
echo "a: $site_dir b: $stnm";
if ($routerRequest["site_name"] == $site_dir) {
//this is the current page
$site_class = "class=\"navsite_link active\"";