Skip to content

Commit 862e70e

Browse files
committed
chore: extend kirby default config
1 parent 3af3e78 commit 862e70e

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

www/app/config/config.php

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
<?php
22

33
return [
4-
# core values
54
'arnoson.kirby-vite.rootDir' => '../src/',
65
'arnoson.kirby-vite.outDir' => 'assets',
76
'arnoson.kirby-vite.entry' => 'app.js',
87

9-
# optional values
10-
'debug' => true,
11-
'smartypants' => true
8+
'smartypants' => true,
9+
'panel' => [
10+
'slug' => 'cp',
11+
'language' => 'ru'
12+
],
13+
'thumbs' => [
14+
'format' => 'webp',
15+
'quality' => 80,
16+
'srcsets' => [
17+
'default' => [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
18+
]
19+
],
20+
'routes' => require_once 'routes.php',
21+
'hooks' => require_once 'hooks.php'
1222
];

www/app/config/hooks.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
return [];

www/app/config/routes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
return [];

0 commit comments

Comments
 (0)