modification du blueprint year pour pouvoir séléctionner une page dans une autre année
This commit is contained in:
parent
8f9e75126e
commit
344af4c0fe
3 changed files with 15 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ tabs:
|
|||
type: pages
|
||||
template: year
|
||||
sortBy: title desc
|
||||
- width: 1/1
|
||||
- width: 1/2
|
||||
sections:
|
||||
allTextsSection:
|
||||
label: Tous les textes
|
||||
|
|
|
|||
|
|
@ -24,6 +24,14 @@ tabs:
|
|||
templates:
|
||||
- linear
|
||||
- grid
|
||||
linkedTextsSection:
|
||||
type: fields
|
||||
fields:
|
||||
linkedTexts:
|
||||
label: Textes liés
|
||||
type: pages
|
||||
query : site.find('textes').grandChildren
|
||||
help: textes enregistrés à une autre année à inclure aussi dans celle-ci.
|
||||
- width: 2/3
|
||||
fields:
|
||||
edito:
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
|
||||
Kirby::plugin('sylvainjule/code-editor', [
|
||||
'options' => [
|
||||
'options' => array(
|
||||
'language' => 'css',
|
||||
'size' => 'small',
|
||||
'lineNumbers' => true,
|
||||
'size' => 'small',
|
||||
'lineNumbers' => true,
|
||||
'tabSize' => 4,
|
||||
'insertSpaces' => true,
|
||||
'ignoreTabKey' => false,
|
||||
],
|
||||
'fields' => [
|
||||
),
|
||||
'fields' => array(
|
||||
'code-editor' => require_once __DIR__ . '/lib/fields/code-editor.php',
|
||||
],
|
||||
),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue