Edit indentation style
This commit is contained in:
parent
d916cac8c9
commit
9fc5497f33
21 changed files with 14837 additions and 14840 deletions
|
@ -1,42 +1,42 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Kirby configuration settings
|
||||
'home' => 'accueil',
|
||||
'error' => 'erreur',
|
||||
'panel' => [
|
||||
'language' => 'fr',
|
||||
'css' => 'build/panel.css'
|
||||
],
|
||||
// Sitemapper plugin options
|
||||
'kirbyzone.sitemapper' => [
|
||||
'intro' => false,
|
||||
'byLine' => 'Sitemap generated with <a href="https://github.com/kirbyzone/sitemapper" target="_blank">Sitemapper by Kirbyzone</a>.'
|
||||
],
|
||||
// Hooks
|
||||
'hooks' => [
|
||||
'file.create:after' => function($file) {
|
||||
// Populate file_type field with $file->type() method after file creation
|
||||
if ($file->type()) {
|
||||
$file->update([
|
||||
'file_type' => $file->type()
|
||||
]);
|
||||
}
|
||||
},
|
||||
'kirbytext:after' => function (string $text) {
|
||||
// Replace any HTML <h1> or <h2> tag by <h3> tag after Markdown parsing
|
||||
return preg_replace(['/<h1>|<h2>/', '/<\/h1>|<\/h2>/'], ['<h3>', '</h3>'], $text);
|
||||
}
|
||||
],
|
||||
// Thumbnails and srcsets presets
|
||||
'thumbs' => [
|
||||
'srcsets' => [
|
||||
'default' => [
|
||||
'640w' => ['width' => 640, 'quality' => 80],
|
||||
'1280w' => ['width' => 1280, 'quality' => 80],
|
||||
'1920w' => ['width' => 1920, 'quality' => 80],
|
||||
'2560w' => ['width' => 2560, 'quality' => 80]
|
||||
]
|
||||
]
|
||||
]
|
||||
// Kirby configuration settings
|
||||
'home' => 'accueil',
|
||||
'error' => 'erreur',
|
||||
'panel' => [
|
||||
'language' => 'fr',
|
||||
'css' => 'build/panel.css'
|
||||
],
|
||||
// Sitemapper plugin options
|
||||
'kirbyzone.sitemapper' => [
|
||||
'intro' => false,
|
||||
'byLine' => 'Sitemap generated with <a href="https://github.com/kirbyzone/sitemapper" target="_blank">Sitemapper by Kirbyzone</a>.'
|
||||
],
|
||||
// Hooks
|
||||
'hooks' => [
|
||||
'file.create:after' => function($file) {
|
||||
// Populate file_type field with $file->type() method after file creation
|
||||
if ($file->type()) {
|
||||
$file->update([
|
||||
'file_type' => $file->type()
|
||||
]);
|
||||
}
|
||||
},
|
||||
'kirbytext:after' => function (string $text) {
|
||||
// Replace any HTML <h1> or <h2> tag by <h3> tag after Markdown parsing
|
||||
return preg_replace(['/<h1>|<h2>/', '/<\/h1>|<\/h2>/'], ['<h3>', '</h3>'], $text);
|
||||
}
|
||||
],
|
||||
// Thumbnails and srcsets presets
|
||||
'thumbs' => [
|
||||
'srcsets' => [
|
||||
'default' => [
|
||||
'640w' => ['width' => 640, 'quality' => 80],
|
||||
'1280w' => ['width' => 1280, 'quality' => 80],
|
||||
'1920w' => ['width' => 1920, 'quality' => 80],
|
||||
'2560w' => ['width' => 2560, 'quality' => 80]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue