page update
This commit is contained in:
@@ -430,7 +430,7 @@ function navActivePublicPages(array $extraSlugs = []): array
|
||||
}
|
||||
|
||||
// "page/<slug>" routes and known standalone slugs should highlight the same nav entry.
|
||||
$publicSlugs = array_merge(['imprint', 'privacy'], $extraSlugs);
|
||||
$publicSlugs = array_merge(['imprint', 'privacy', 'terms'], $extraSlugs);
|
||||
$isActive = strpos($current, 'page/') === 0 || in_array($current, $publicSlugs, true);
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user