[ 'label' => 'Accueil', 'current' => function ($current) { $path = Kirby::instance()->request()->path()->toString(); return Str::contains($path, 'site'); } ], 'texts' => [ 'icon' => 'pen', 'label' => 'Textes', 'link' => 'pages/texts', 'current' => function ($current) { $path = Kirby::instance()->request()->path()->toString(); return Str::contains($path, 'pages/texts'); } ], '-', '-', 'infos' => [ 'icon' => 'question', 'label' => 'À propos', 'link' => 'pages/a-propos', 'current' => function ($current) { $path = Kirby::instance()->request()->path()->toString(); return Str::contains($path, 'pages/a-propos'); } ], 'newsletter' => [ 'icon' => 'email', 'label' => 'Infolettre', 'link' => 'pages/lettre', 'current' => function ($current) { $path = Kirby::instance()->request()->path()->toString(); return Str::contains($path, 'pages/lettre'); } ], '-', '-', 'users', 'comments', 'admin' => [ 'icon' => 'folder', 'label' => 'Administration', 'link' => 'pages/admin', 'current' => function ($current) { $path = Kirby::instance()->request()->path()->toString(); return Str::contains($path, 'pages/admin'); } ], '-', '-', 'system', ];