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 [
|
return [
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
|
'smartypants' => true,
|
||||||
|
'locale' => 'fr_FR.utf-8',
|
||||||
|
'date' => [
|
||||||
|
'handler' => 'intl'
|
||||||
|
],
|
||||||
'api' => [
|
'api' => [
|
||||||
'basicAuth' => true,
|
'basicAuth' => true,
|
||||||
// Enable api access without SSL. To disable in production.
|
// Enable api access without SSL. To disable in production.
|
||||||
|
|
@ -20,6 +25,7 @@ return [
|
||||||
$links = [
|
$links = [
|
||||||
'pages/clients',
|
'pages/clients',
|
||||||
'pages/projects',
|
'pages/projects',
|
||||||
|
'pages/inspirations',
|
||||||
'pages/notifications',
|
'pages/notifications',
|
||||||
'pages/events'
|
'pages/events'
|
||||||
];
|
];
|
||||||
|
|
@ -47,6 +53,15 @@ return [
|
||||||
return Str::contains($path, 'pages/projects');
|
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' => [
|
'notifications' => [
|
||||||
'label' => 'Notifications',
|
'label' => 'Notifications',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue