Edit config and blueprints
This commit is contained in:
parent
8c71a258b6
commit
6b0eaaaa22
34 changed files with 380 additions and 355 deletions
|
@ -1,34 +0,0 @@
|
||||||
title: Artwork
|
|
||||||
accept:
|
|
||||||
mime: image/jpeg, image/png, video/mp4
|
|
||||||
fields:
|
|
||||||
alt_text:
|
|
||||||
when:
|
|
||||||
file_type: image
|
|
||||||
label:
|
|
||||||
en: Alternative text
|
|
||||||
fr: Texte alternatif
|
|
||||||
type: text
|
|
||||||
poster:
|
|
||||||
when:
|
|
||||||
file_type: video
|
|
||||||
label:
|
|
||||||
en: Poster
|
|
||||||
fr: Vignette
|
|
||||||
type: files
|
|
||||||
uploads: image
|
|
||||||
layout: cards
|
|
||||||
image:
|
|
||||||
ratio: 16/9
|
|
||||||
cover: true
|
|
||||||
back: white
|
|
||||||
multiple: false
|
|
||||||
help:
|
|
||||||
en: "Image displayed before video playback (format: JPEG or PNG). The first image of the video is used if this field is empty."
|
|
||||||
fr: "Image affichée avant la lecture de la vidéo (format : JPEG ou PNG). La première image de la vidéo est utilisée si ce champ est vide."
|
|
||||||
width: 1/4
|
|
||||||
caption:
|
|
||||||
label:
|
|
||||||
en: Caption
|
|
||||||
fr: Légende
|
|
||||||
type: text
|
|
34
site/blueprints/files/image_video.yml
Normal file
34
site/blueprints/files/image_video.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
title: Artwork
|
||||||
|
accept:
|
||||||
|
mime: image/jpeg, image/png, video/mp4
|
||||||
|
fields:
|
||||||
|
alt_text:
|
||||||
|
when:
|
||||||
|
file_type: image
|
||||||
|
label:
|
||||||
|
en: Alternative text
|
||||||
|
fr: Texte alternatif
|
||||||
|
type: text
|
||||||
|
poster:
|
||||||
|
when:
|
||||||
|
file_type: video
|
||||||
|
label:
|
||||||
|
en: Poster
|
||||||
|
fr: Vignette
|
||||||
|
type: files
|
||||||
|
uploads: image
|
||||||
|
layout: cards
|
||||||
|
image:
|
||||||
|
ratio: 16/9
|
||||||
|
cover: true
|
||||||
|
back: white
|
||||||
|
multiple: false
|
||||||
|
help:
|
||||||
|
en: "Image displayed before video playback (format: JPEG or PNG). The first image of the video is used if this field is empty."
|
||||||
|
fr: "Image affichée avant la lecture de la vidéo (format : JPEG ou PNG). La première image de la vidéo est utilisée si ce champ est vide."
|
||||||
|
width: 1/4
|
||||||
|
caption:
|
||||||
|
label:
|
||||||
|
en: Caption
|
||||||
|
fr: Légende
|
||||||
|
type: text
|
25
site/blueprints/files/video.yml
Normal file
25
site/blueprints/files/video.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
title: Vidéo
|
||||||
|
accept:
|
||||||
|
mime: video/mp4
|
||||||
|
fields:
|
||||||
|
poster:
|
||||||
|
label:
|
||||||
|
en: Poster
|
||||||
|
fr: Vignette
|
||||||
|
type: files
|
||||||
|
uploads: image
|
||||||
|
layout: cards
|
||||||
|
image:
|
||||||
|
ratio: 16/9
|
||||||
|
cover: true
|
||||||
|
back: white
|
||||||
|
multiple: false
|
||||||
|
help:
|
||||||
|
en: "Image displayed before video playback (format: JPEG or PNG). The first image of the video is used if this field is empty."
|
||||||
|
fr: "Image affichée avant la lecture de la vidéo (format : JPEG ou PNG). La première image de la vidéo est utilisée si ce champ est vide."
|
||||||
|
width: 1/4
|
||||||
|
caption:
|
||||||
|
label:
|
||||||
|
en: Caption
|
||||||
|
fr: Légende
|
||||||
|
type: text
|
21
site/blueprints/pages/about.yml
Normal file
21
site/blueprints/pages/about.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
title:
|
||||||
|
en: About
|
||||||
|
fr: À propos
|
||||||
|
icon: text
|
||||||
|
status:
|
||||||
|
draft: true
|
||||||
|
listed: true
|
||||||
|
options:
|
||||||
|
changeSlug:
|
||||||
|
admin: true
|
||||||
|
editor: false
|
||||||
|
changeStatus: false
|
||||||
|
changeTemplate: false
|
||||||
|
changeTitle:
|
||||||
|
admin: true
|
||||||
|
editor: false
|
||||||
|
delete: false
|
||||||
|
duplicate: false
|
||||||
|
tabs:
|
||||||
|
content: tabs/about_content
|
||||||
|
seo: tabs/about_seo
|
|
@ -1,21 +0,0 @@
|
||||||
title:
|
|
||||||
en: Biography
|
|
||||||
fr: Biographie
|
|
||||||
icon: text
|
|
||||||
status:
|
|
||||||
draft: true
|
|
||||||
unlisted: true
|
|
||||||
options:
|
|
||||||
changeSlug:
|
|
||||||
admin: true
|
|
||||||
editor: false
|
|
||||||
changeStatus: false
|
|
||||||
changeTemplate: false
|
|
||||||
changeTitle:
|
|
||||||
admin: true
|
|
||||||
editor: false
|
|
||||||
delete: false
|
|
||||||
duplicate: false
|
|
||||||
tabs:
|
|
||||||
content: tabs/biography_content
|
|
||||||
seo: tabs/biography_seo
|
|
|
@ -5,6 +5,17 @@ icon: file-image
|
||||||
status:
|
status:
|
||||||
draft: true
|
draft: true
|
||||||
listed: true
|
listed: true
|
||||||
|
options:
|
||||||
|
changeSlug:
|
||||||
|
admin: true
|
||||||
|
editor: false
|
||||||
|
changeStatus: false
|
||||||
|
changeTemplate: false
|
||||||
|
changeTitle:
|
||||||
|
admin: true
|
||||||
|
editor: false
|
||||||
|
delete: false
|
||||||
|
duplicate: false
|
||||||
tabs:
|
tabs:
|
||||||
content: tabs/gallery_content
|
content: tabs/gallery_content
|
||||||
seo: tabs/gallery_seo
|
seo: tabs/gallery_seo
|
||||||
|
|
|
@ -4,7 +4,7 @@ title:
|
||||||
icon: home
|
icon: home
|
||||||
status:
|
status:
|
||||||
draft: true
|
draft: true
|
||||||
unlisted: true
|
listed: true
|
||||||
options:
|
options:
|
||||||
changeSlug:
|
changeSlug:
|
||||||
admin: true
|
admin: true
|
||||||
|
|
20
site/blueprints/sections/about_content_presentation.yml
Normal file
20
site/blueprints/sections/about_content_presentation.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
text:
|
||||||
|
label:
|
||||||
|
en: Presentation text
|
||||||
|
fr: Texte de présentation
|
||||||
|
type: textarea
|
||||||
|
required: true
|
||||||
|
size: large
|
||||||
|
buttons:
|
||||||
|
- headlines
|
||||||
|
- '|'
|
||||||
|
- bold
|
||||||
|
- italic
|
||||||
|
- '|'
|
||||||
|
- link
|
||||||
|
- email
|
||||||
|
- '|'
|
||||||
|
- ul
|
||||||
|
- '|'
|
|
@ -1,20 +0,0 @@
|
||||||
type: fields
|
|
||||||
fields:
|
|
||||||
text:
|
|
||||||
label:
|
|
||||||
en: Presentation text
|
|
||||||
fr: Texte de présentation
|
|
||||||
type: textarea
|
|
||||||
required: true
|
|
||||||
size: large
|
|
||||||
buttons:
|
|
||||||
- headlines
|
|
||||||
- '|'
|
|
||||||
- bold
|
|
||||||
- italic
|
|
||||||
- '|'
|
|
||||||
- link
|
|
||||||
- email
|
|
||||||
- '|'
|
|
||||||
- ul
|
|
||||||
- '|'
|
|
|
@ -2,11 +2,11 @@ headline:
|
||||||
en: Artworks
|
en: Artworks
|
||||||
fr: Œuvres
|
fr: Œuvres
|
||||||
type: files
|
type: files
|
||||||
template: artwork
|
template: image
|
||||||
min: 1
|
min: 2
|
||||||
layout: cards
|
layout: cards
|
||||||
size: small
|
size: small
|
||||||
limit: 40
|
limit: 60
|
||||||
image:
|
image:
|
||||||
ratio: 1/1
|
ratio: 1/1
|
||||||
back: white
|
back: white
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
type: fields
|
|
||||||
fields:
|
|
||||||
text:
|
|
||||||
label:
|
|
||||||
en: Introduction text
|
|
||||||
fr: Texte d'introduction
|
|
||||||
type: textarea
|
|
||||||
size: medium
|
|
||||||
buttons:
|
|
||||||
- headlines
|
|
||||||
- '|'
|
|
||||||
- bold
|
|
||||||
- italic
|
|
||||||
- '|'
|
|
||||||
- link
|
|
||||||
- email
|
|
||||||
- '|'
|
|
||||||
- ul
|
|
||||||
- '|'
|
|
|
@ -1,12 +0,0 @@
|
||||||
headline:
|
|
||||||
en: Background image
|
|
||||||
fr: Image de fond
|
|
||||||
type: files
|
|
||||||
template: image
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
layout: cards
|
|
||||||
size: medium
|
|
||||||
image:
|
|
||||||
ratio: 1/1
|
|
||||||
back: white
|
|
|
@ -1,18 +0,0 @@
|
||||||
headline:
|
|
||||||
en: Contact and social networks
|
|
||||||
fr: Contact et réseaux sociaux
|
|
||||||
type: fields
|
|
||||||
fields:
|
|
||||||
email:
|
|
||||||
label:
|
|
||||||
en: Email
|
|
||||||
fr: Adresse e-mail
|
|
||||||
type: email
|
|
||||||
required: true
|
|
||||||
instagram:
|
|
||||||
type: url
|
|
||||||
label:
|
|
||||||
en: Instagram account
|
|
||||||
fr: Compte Instagram
|
|
||||||
icon: instagram
|
|
||||||
required: true
|
|
41
site/blueprints/sections/home_content_exhibitions.yml
Normal file
41
site/blueprints/sections/home_content_exhibitions.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
headline:
|
||||||
|
en: Exhibitions
|
||||||
|
fr: Expositions
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
exhibitions:
|
||||||
|
label:
|
||||||
|
en: Exhibitions
|
||||||
|
fr: Expositions
|
||||||
|
type: structure
|
||||||
|
prepend: true
|
||||||
|
sortable: true
|
||||||
|
required: true
|
||||||
|
fields:
|
||||||
|
url:
|
||||||
|
label:
|
||||||
|
en: URL
|
||||||
|
fr: URL
|
||||||
|
type: url
|
||||||
|
width: 3/4
|
||||||
|
toggle:
|
||||||
|
label:
|
||||||
|
en: External link
|
||||||
|
fr: Lien externe
|
||||||
|
type: toggle
|
||||||
|
text:
|
||||||
|
-
|
||||||
|
en: 'No'
|
||||||
|
fr: Non
|
||||||
|
-
|
||||||
|
en: 'Yes'
|
||||||
|
fr: Oui
|
||||||
|
width: 1/4
|
||||||
|
columns:
|
||||||
|
url:
|
||||||
|
width: 3/4
|
||||||
|
toggle:
|
||||||
|
width: 1/4
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ fields:
|
||||||
type: textarea
|
type: textarea
|
||||||
size: small
|
size: small
|
||||||
buttons: false
|
buttons: false
|
||||||
required: true
|
# required: true
|
||||||
help:
|
help:
|
||||||
en: "Short description of the page displayed by search engines and social networks (recommended maximum length: 160 characters)."
|
en: "Short description of the page displayed by search engines and social networks (recommended maximum length: 160 characters)."
|
||||||
fr: "Courte description de la page affichée par les moteurs de recherche et les réseaux sociaux (taille maximale conseillée : 160 caractères)."
|
fr: "Courte description de la page affichée par les moteurs de recherche et les réseaux sociaux (taille maximale conseillée : 160 caractères)."
|
||||||
|
@ -26,7 +26,7 @@ fields:
|
||||||
cover: true
|
cover: true
|
||||||
back: white
|
back: white
|
||||||
multiple: false
|
multiple: false
|
||||||
required: true
|
# required: true
|
||||||
clip:
|
clip:
|
||||||
minwidth: 1200
|
minwidth: 1200
|
||||||
minheight: 675
|
minheight: 675
|
||||||
|
|
22
site/blueprints/sections/site_content_contact.yml
Normal file
22
site/blueprints/sections/site_content_contact.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
contact_line:
|
||||||
|
type: line
|
||||||
|
email:
|
||||||
|
label:
|
||||||
|
en: Email
|
||||||
|
fr: Adresse e-mail
|
||||||
|
type: email
|
||||||
|
required: true
|
||||||
|
width: 1/2
|
||||||
|
gap:
|
||||||
|
type: gap
|
||||||
|
width: 1/2
|
||||||
|
instagram:
|
||||||
|
type: url
|
||||||
|
label:
|
||||||
|
en: Instagram account
|
||||||
|
fr: Compte Instagram
|
||||||
|
icon: instagram
|
||||||
|
required: true
|
||||||
|
width: 1/2
|
|
@ -1,14 +0,0 @@
|
||||||
headline:
|
|
||||||
en: Galleries
|
|
||||||
fr: Galeries
|
|
||||||
type: pages
|
|
||||||
template: gallery
|
|
||||||
min: 2
|
|
||||||
max: 4
|
|
||||||
layout: cards
|
|
||||||
size: small
|
|
||||||
image:
|
|
||||||
ratio: 1/1
|
|
||||||
cover: true
|
|
||||||
query: page.images.template('artwork').sortBy('sort').first
|
|
||||||
back: white
|
|
|
@ -4,8 +4,9 @@ headline:
|
||||||
type: pages
|
type: pages
|
||||||
templates:
|
templates:
|
||||||
- home
|
- home
|
||||||
- biography
|
- about
|
||||||
sortBy: title asc
|
- gallery
|
||||||
|
sortBy: title desc
|
||||||
create: false
|
create: false
|
||||||
layout: cardlets
|
layout: cardlets
|
||||||
image:
|
image:
|
||||||
|
|
6
site/blueprints/tabs/about_content.yml
Normal file
6
site/blueprints/tabs/about_content.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
label:
|
||||||
|
en: Content
|
||||||
|
fr: Contenu
|
||||||
|
icon: text
|
||||||
|
sections:
|
||||||
|
presentation: sections/about_content_presentation
|
6
site/blueprints/tabs/about_seo.yml
Normal file
6
site/blueprints/tabs/about_seo.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
label:
|
||||||
|
en: SEO
|
||||||
|
fr: Référencement
|
||||||
|
icon: search
|
||||||
|
sections:
|
||||||
|
seo_basic_meta: sections/generic_seo_metadata
|
|
@ -1,6 +0,0 @@
|
||||||
label:
|
|
||||||
en: Content
|
|
||||||
fr: Contenu
|
|
||||||
icon: text
|
|
||||||
sections:
|
|
||||||
presentation: sections/biography_content_presentation
|
|
|
@ -1,6 +0,0 @@
|
||||||
label:
|
|
||||||
en: SEO
|
|
||||||
fr: Référencement
|
|
||||||
icon: search
|
|
||||||
sections:
|
|
||||||
seo_basic_meta: sections/generic_seo_metadata
|
|
|
@ -3,5 +3,4 @@ label:
|
||||||
fr: Contenu
|
fr: Contenu
|
||||||
icon: text
|
icon: text
|
||||||
sections:
|
sections:
|
||||||
introduction: sections/gallery_content_introduction
|
|
||||||
artworks: sections/gallery_content_artworks
|
artworks: sections/gallery_content_artworks
|
||||||
|
|
|
@ -2,10 +2,6 @@ label:
|
||||||
en: Content
|
en: Content
|
||||||
fr: Contenu
|
fr: Contenu
|
||||||
icon: text
|
icon: text
|
||||||
columns:
|
|
||||||
- width: 1/2
|
|
||||||
sections:
|
sections:
|
||||||
background_image: sections/home_content_background_image
|
exhibitions: sections/home_content_exhibitions
|
||||||
- width: 1/2
|
|
||||||
sections:
|
|
||||||
contact: sections/home_content_contact
|
|
|
@ -2,11 +2,6 @@ label:
|
||||||
en: Website
|
en: Website
|
||||||
fr: Site web
|
fr: Site web
|
||||||
icon: home
|
icon: home
|
||||||
columns:
|
|
||||||
- width: 1/4
|
|
||||||
sticky: true
|
|
||||||
sections:
|
sections:
|
||||||
pages: sections/site_content_pages
|
pages: sections/site_content_pages
|
||||||
- width: 3/4
|
contact: sections/site_content_contact
|
||||||
sections:
|
|
||||||
galleries: sections/site_content_galleries
|
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
// Kirby configuration settings
|
// Kirby configuration settings
|
||||||
'home' => 'accueil',
|
|
||||||
'error' => 'erreur',
|
|
||||||
'panel' => [
|
'panel' => [
|
||||||
'language' => 'fr',
|
'language' => 'fr',
|
||||||
'css' => 'assets/css/panel.min.css'
|
'css' => 'assets/css/panel.min.css'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue