template + blueprint news
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m16s

This commit is contained in:
Julie Blanc 2026-02-25 15:22:34 +01:00
parent 224ddedc93
commit ea35cc1e22
11 changed files with 286 additions and 8 deletions

View file

@ -38,6 +38,15 @@ return [
return Str::contains($path, 'pages/impacts');
}
],
'news' => [
'label' => 'Brèves',
'icon' => 'newspaper',
'link' => 'pages/news',
'current' => function (string $current): bool {
$path = Kirby\Cms\App::instance()->path();
return Str::contains($path, 'pages/news');
}
],
'dossiers' => [
'label' => 'Dossiers',
'icon' => 'folder',