prepare subscription page
This commit is contained in:
parent
4c5b7677d7
commit
1b62fa7589
10 changed files with 77 additions and 61 deletions
|
|
@ -37,10 +37,10 @@ return [
|
|||
return Str::contains($path, 'pages/a-propos');
|
||||
}
|
||||
],
|
||||
'newsletter' => [
|
||||
'subscription' => [
|
||||
'icon' => 'email',
|
||||
'label' => 'Liste de diffusion',
|
||||
'link' => 'pages/liste-de-diffusion',
|
||||
'link' => 'pages/inscription',
|
||||
'current' => function ($current) {
|
||||
$path = Kirby::instance()->request()->path()->toString();
|
||||
return Str::contains($path, 'pages/liste-de-diffusion');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue