Initial commit

This commit is contained in:
sarahgarcin1 2026-01-05 19:33:15 +01:00
commit 388079e6bb
1108 changed files with 330121 additions and 0 deletions

View file

@ -0,0 +1,4 @@
name: Add blank page
icon: page
wysiwyg: true
preview: box

View file

@ -0,0 +1,4 @@
name: Page Break
icon: box
wysiwyg: true
preview: box

View file

@ -0,0 +1,45 @@
name: Image pleine page
icon: image
wysiwyg: true
preview: image
fields:
location:
label: field.blocks.image.location
type: radio
columns: 2
default: "kirby"
required: true
options:
kirby: "{{ t('field.blocks.image.location.internal') }}"
web: "{{ t('field.blocks.image.location.external') }}"
image:
label: field.blocks.image.name
type: files
query: model.images
multiple: false
image:
back: black
uploads:
template: blocks/image
when:
location: kirby
src:
label: field.blocks.image.url
type: url
when:
location: web
alt:
label: field.blocks.image.alt
type: text
icon: title
caption:
label: field.blocks.image.caption
type: writer
icon: text
inline: true
fullwidth:
label: Image width fit page width
type: toggle
text:
- "off"
- "on"

View file

@ -0,0 +1,60 @@
name: field.blocks.image.name
icon: image
preview: image
fields:
location:
label: field.blocks.image.location
type: radio
columns: 2
default: "kirby"
options:
kirby: "{{ t('field.blocks.image.location.internal') }}"
web: "{{ t('field.blocks.image.location.external') }}"
image:
label: field.blocks.image.name
type: files
query: model.images
multiple: false
image:
back: black
uploads:
template: blocks/image
when:
location: kirby
src:
label: field.blocks.image.url
type: url
when:
location: web
alt:
label: field.blocks.image.alt
type: text
icon: title
caption:
label: field.blocks.image.caption
type: writer
icon: text
inline: true
link:
label: field.blocks.image.link
type: text
icon: url
width:
label: Largeur de l'image
type: select
width: 1/2
options:
16.666%: "16.666%"
20%: "20%"
25%: "25%"
33.333%: "33.333%"
50%: "50%"
66.666%: "66.666%"
100%: "100%"
position:
label: Position de l'image
type: select
width: 1/2
options:
auto: "Centrée"
0: "Alignée à gauche"

View file

@ -0,0 +1,25 @@
name: Interview
icon: question
wysiwyg: true
preview: text
fields:
alignment:
type: toggles
label: Alignement
options:
- value: justify
text: Justify
icon: text-justify
- value: left
text: Left
icon: text-left
- value: center
text: Center
icon: text-center
- value: right
text: Right
icon: text-right
text:
type: writer
nodes: true
placeholder: field.blocks.text.placeholder

View file

@ -0,0 +1,47 @@
name: Image en double page
icon: image
wysiwyg: true
preview: image
fields:
location:
label: field.blocks.image.location
type: radio
columns: 2
default: "kirby"
required: true
options:
kirby: "{{ t('field.blocks.image.location.internal') }}"
web: "{{ t('field.blocks.image.location.external') }}"
image:
label: field.blocks.image.name
type: files
query: model.images
multiple: false
image:
back: black
uploads:
template: blocks/image
when:
location: kirby
src:
label: field.blocks.image.url
type: url
when:
location: web
alt:
label: field.blocks.image.alt
type: text
icon: title
caption:
label: field.blocks.image.caption
type: writer
icon: text
inline: true
fullwidth:
label: Image width fit page width
type: toggle
text:
- "off"
- "on"

View file

@ -0,0 +1,9 @@
name: field.blocks.text.name
icon: text
wysiwyg: true
preview: text
fields:
text:
type: writer
nodes: true
placeholder: field.blocks.text.placeholder

View file

@ -0,0 +1,39 @@
name: field.blocks.video.name
icon: video
preview: video
fields:
# url:
# label: field.blocks.video.url.label
# type: url
# placeholder: field.blocks.video.url.placeholder
location:
label: field.blocks.image.location
type: radio
columns: 2
default: "kirby"
options:
kirby: "{{ t('field.blocks.image.location.internal') }}"
web: "{{ t('field.blocks.image.location.external') }}"
video:
label: field.blocks.video.name
type: files
query: model.videos
multiple: false
video:
back: black
uploads:
template: blocks/video
when:
location: kirby
url:
label: field.blocks.video.url.label
type: url
placeholder: field.blocks.video.url.placeholder
when:
location: web
caption:
label: field.blocks.video.caption
type: writer
inline: true

View file

@ -0,0 +1,20 @@
title: Image
columns:
- width: 1/2
sections:
content:
type: fields
fields:
caption:
label: Légende
type: writer
size: small
- width: 1/2
sections:
meta:
type: fields
fields:
alt:
label: Texte alternatif
type: text

View file

@ -0,0 +1,46 @@
title: Chapitre
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
chapeau:
label: Chapeau
type: writer
text:
label: Contenu
type: blocks
fieldsets:
text:
label: Texte
type: group
fieldsets:
- heading
- text
- list
- quote
- interview
media:
label: Media
type: group
fieldsets:
- gallery
- image
- fullpageimage
- spreadimage
others:
label: Autres
type: group
fieldsets:
- break
- blank
sidebar:
width: 1/3
sections:
files:
label: Images
type: files

View file

@ -0,0 +1,35 @@
title: Page
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
text:
label: Texte
type: blocks
fieldsets:
text:
label: Texte
type: group
fieldsets:
- heading
- text
- list
- quote
media:
label: Medias
type: group
fieldsets:
- gallery
- image
- video
sidebar:
width: 1/3
sections:
files:
label: Fichiers
type: files

View file

@ -0,0 +1,21 @@
title: Page d'accueil
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
bigImage:
label: Image à afficher sur la page d'accueil
type: files
multiple: false
sidebar:
width: 1/3
sections:
files:
label: Fichiers
type: files

View file

@ -0,0 +1,9 @@
title: Print
sections:
info:
type: info
label: Info
text: |
Cette page permet de générer la version print de la revue

83
site/blueprints/site.yml Normal file
View file

@ -0,0 +1,83 @@
title: Site
tabs:
content:
icon: text
label: Content
columns:
main:
width: 1/2
sections:
menu:
label: Chapitres
type: pages
templates:
- chapitre
secondary:
width: 1/2
sections:
pages:
type: pages
label: Autres pages
templates:
- home
- print
- error
settings:
label: Paramètres
icon: settings
columns:
main:
width: 2/3
sections:
content:
type: fields
fields:
logo:
label: Logo
type: files
multiple: false
width: 1/2
cover:
label: Image de couverture
type: files
multiple: false
width: 1/2
copyright:
label: Copyright
type: text
social:
label: Réseaux sociaux
type: structure
fields:
title:
label: Titre
type: text
icon:
label: Icône
type: text
help: Pour trouver votre icône, allez sur <a href="http://fontawesome.io/icons/" target="_blank">http://fontawesome.io/icons/</a>
link:
label: Lien
type: url
description:
label: Description
type: textarea
subject:
label: Sujet du site web
type: textarea
keywords:
label: Mots Clés
type: tags
author:
label: Auteur·ices
type: text
sidebar:
width: 1/3
sections:
files:
type: files