This commit is contained in:
parent
e7da4d77b5
commit
20bdf428e4
25 changed files with 648 additions and 88 deletions
|
|
@ -93,6 +93,24 @@ return [
|
|||
return Str::contains($path, 'pages/mentions-legales');
|
||||
}
|
||||
],
|
||||
'newsletter' => [
|
||||
'label' => 'Newsletter',
|
||||
'icon' => 'email',
|
||||
'link' => 'pages/newsletter',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/newsletter');
|
||||
}
|
||||
],
|
||||
'privacy-policy' => [
|
||||
'label' => 'Politique de confidentialité',
|
||||
'icon' => 'lock',
|
||||
'link' => 'pages/politique-de-confidentialite',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/politique-de-confidentialite');
|
||||
}
|
||||
],
|
||||
'-',
|
||||
'database' => [
|
||||
'label' => 'Bases de données',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue