Skip to content

Commit

Permalink
chore: extend kirby default config
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrlv committed Apr 1, 2022
1 parent 3af3e78 commit 862e70e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
18 changes: 14 additions & 4 deletions www/app/config/config.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
<?php

return [
# core values
'arnoson.kirby-vite.rootDir' => '../src/',
'arnoson.kirby-vite.outDir' => 'assets',
'arnoson.kirby-vite.entry' => 'app.js',

# optional values
'debug' => true,
'smartypants' => true
'smartypants' => true,
'panel' => [
'slug' => 'cp',
'language' => 'ru'
],
'thumbs' => [
'format' => 'webp',
'quality' => 80,
'srcsets' => [
'default' => [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
]
],
'routes' => require_once 'routes.php',
'hooks' => require_once 'hooks.php'
];
3 changes: 3 additions & 0 deletions www/app/config/hooks.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return [];
3 changes: 3 additions & 0 deletions www/app/config/routes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return [];

0 comments on commit 862e70e

Please sign in to comment.