Update config: add smartypants, locale, intl date handler and inspirations panel.menu
This commit is contained in:
parent
1183905251
commit
ba1715f4eb
1 changed files with 15 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
return [
|
||||
'debug' => true,
|
||||
'smartypants' => true,
|
||||
'locale' => 'fr_FR.utf-8',
|
||||
'date' => [
|
||||
'handler' => 'intl'
|
||||
],
|
||||
'api' => [
|
||||
'basicAuth' => true,
|
||||
// Enable api access without SSL. To disable in production.
|
||||
|
|
@ -20,6 +25,7 @@ return [
|
|||
$links = [
|
||||
'pages/clients',
|
||||
'pages/projects',
|
||||
'pages/inspirations',
|
||||
'pages/notifications',
|
||||
'pages/events'
|
||||
];
|
||||
|
|
@ -47,6 +53,15 @@ return [
|
|||
return Str::contains($path, 'pages/projects');
|
||||
}
|
||||
],
|
||||
'inspirations' => [
|
||||
'label' => 'Inspirations',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/inspirations',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/inspirations');
|
||||
}
|
||||
],
|
||||
'-',
|
||||
'notifications' => [
|
||||
'label' => 'Notifications',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue