untrack content dir

This commit is contained in:
isUnknown 2024-03-09 11:27:10 +01:00
parent 55684b6079
commit fb310b279e
47 changed files with 634 additions and 189 deletions

View file

@ -12,7 +12,7 @@ return [
}
],
'articles' => [
'icon' => 'folder',
'icon' => 'pen',
'label' => 'Articles',
'link' => 'pages/articles',
'current' => function ($current) {
@ -21,6 +21,25 @@ return [
}
],
'-',
'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' => 'Lettre',
'link' => 'pages/lettre',
'current' => function ($current) {
$path = Kirby::instance()->request()->path()->toString();
return Str::contains($path, 'pages/lettre');
}
],
'-',
'users',
'system'
]