Add editorcongif file and edit indentation style
This commit is contained in:
parent
4ce2c3e214
commit
445db7d1bf
15 changed files with 1301 additions and 1291 deletions
|
@ -4,4 +4,4 @@ label:
|
|||
icon: text
|
||||
sections:
|
||||
exhibitions: sections/home_content_exhibitions
|
||||
|
||||
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
title:
|
||||
en: Administrator
|
||||
fr: Administrateur·ice
|
||||
en: Administrator
|
||||
fr: Administrateur·ice
|
||||
description:
|
||||
en: The Administrator has all rights
|
||||
fr: L'Administrateur·ice dispose de tous les droits
|
||||
en: The Administrator has all rights
|
||||
fr: L'Administrateur·ice dispose de tous les droits
|
||||
sections:
|
||||
info:
|
||||
headline:
|
||||
en: Website
|
||||
fr: Site internet
|
||||
theme: none
|
||||
width: 1/2
|
||||
text:
|
||||
en: |
|
||||
(link: https://paulnicoue.com text: paulnicoue.com target: _blank)
|
||||
fr: |
|
||||
(link: https://www.paulnicoue.com text: paulnicoue.com target: _blank)
|
||||
info:
|
||||
headline:
|
||||
en: Website
|
||||
fr: Site internet
|
||||
theme: none
|
||||
width: 1/2
|
||||
text: |
|
||||
(link: https://paulnicoue.com text: paulnicoue.com target: _blank)
|
||||
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Kirby configuration settings
|
||||
'panel' => [
|
||||
'language' => 'fr',
|
||||
'css' => 'assets/css/panel.min.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]
|
||||
]
|
||||
]
|
||||
]
|
||||
// Kirby configuration settings
|
||||
'panel' => [
|
||||
'language' => 'fr',
|
||||
'css' => 'assets/css/panel.min.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]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{# Favicon #}
|
||||
<link rel="icon" sizes="any" href="assets/favicon/xiao-wang-favicon.ico">
|
||||
<link rel="icon" type="image/svg+xml" href="assets/favicon/xiao-wang-favicon.svg">
|
||||
<link rel="apple-touch-icon" href="assets/favicon/xiao-wang-apple-touch-icon.png">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue