index-main/site/config/menu.php
isUnknown 4740463979 Add table of contents snippet and update menu config
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 14:29:49 +01:00

15 lines
No EOL
282 B
PHP

<?php
return [
'home' => [
'label' => 'Dashboard',
'icon' => 'bolt',
'link' => '/',
'current' => function (string $current): bool {
$path = Kirby\Cms\App::instance()->path();
return Str::contains($path, '/site');
}
],
'-',
'users'
];