template + blueprint news
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m16s
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m16s
This commit is contained in:
parent
224ddedc93
commit
ea35cc1e22
11 changed files with 286 additions and 8 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue