Edit config and blueprints
This commit is contained in:
parent
8c71a258b6
commit
6b0eaaaa22
34 changed files with 380 additions and 355 deletions
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
|
||||
- '|'
|
|
@ -1,12 +1,12 @@
|
|||
headline:
|
||||
en: Artworks
|
||||
fr: Œuvres
|
||||
en: Artworks
|
||||
fr: Œuvres
|
||||
type: files
|
||||
template: artwork
|
||||
min: 1
|
||||
template: image
|
||||
min: 2
|
||||
layout: cards
|
||||
size: small
|
||||
limit: 40
|
||||
limit: 60
|
||||
image:
|
||||
ratio: 1/1
|
||||
back: white
|
||||
ratio: 1/1
|
||||
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,43 +1,43 @@
|
|||
type: fields
|
||||
fields:
|
||||
meta_description:
|
||||
label:
|
||||
en: Meta description
|
||||
fr: Méta description
|
||||
type: textarea
|
||||
size: small
|
||||
buttons: false
|
||||
help:
|
||||
en: "Short description of the page displayed by search engines and social networks (recommended maximum length: 160 characters). Home page meta description is used if this field is empty."
|
||||
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). La méta description de la page d'accueil est utilisée si ce champ est vide."
|
||||
width: 3/4
|
||||
gap:
|
||||
type: gap
|
||||
width: 1/4
|
||||
meta_image:
|
||||
label:
|
||||
en: Meta image
|
||||
fr: Méta image
|
||||
type: image-clip
|
||||
query: page.images
|
||||
uploads: image
|
||||
layout: cards
|
||||
image:
|
||||
cover: true
|
||||
back: white
|
||||
multiple: false
|
||||
clip:
|
||||
minwidth: 1200
|
||||
minheight: 675
|
||||
ratio: fixed
|
||||
help:
|
||||
en: "Image displayed by social networks (format: JPEG or PNG). Home page meta image is used if this field is empty."
|
||||
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG). La méta image de la page d'accueil est utilisée si ce champ est vide."
|
||||
width: 1/4
|
||||
# Hidden fields
|
||||
og_type:
|
||||
type: hidden
|
||||
default: article
|
||||
twitter_card_type:
|
||||
type: hidden
|
||||
default: summary_large_image
|
||||
meta_description:
|
||||
label:
|
||||
en: Meta description
|
||||
fr: Méta description
|
||||
type: textarea
|
||||
size: small
|
||||
buttons: false
|
||||
help:
|
||||
en: "Short description of the page displayed by search engines and social networks (recommended maximum length: 160 characters). Home page meta description is used if this field is empty."
|
||||
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). La méta description de la page d'accueil est utilisée si ce champ est vide."
|
||||
width: 3/4
|
||||
gap:
|
||||
type: gap
|
||||
width: 1/4
|
||||
meta_image:
|
||||
label:
|
||||
en: Meta image
|
||||
fr: Méta image
|
||||
type: image-clip
|
||||
query: page.images
|
||||
uploads: image
|
||||
layout: cards
|
||||
image:
|
||||
cover: true
|
||||
back: white
|
||||
multiple: false
|
||||
clip:
|
||||
minwidth: 1200
|
||||
minheight: 675
|
||||
ratio: fixed
|
||||
help:
|
||||
en: "Image displayed by social networks (format: JPEG or PNG). Home page meta image is used if this field is empty."
|
||||
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG). La méta image de la page d'accueil est utilisée si ce champ est vide."
|
||||
width: 1/4
|
||||
# Hidden fields
|
||||
og_type:
|
||||
type: hidden
|
||||
default: article
|
||||
twitter_card_type:
|
||||
type: hidden
|
||||
default: summary_large_image
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -1,44 +1,44 @@
|
|||
type: fields
|
||||
fields:
|
||||
meta_description:
|
||||
label:
|
||||
en: Meta description
|
||||
fr: Méta description
|
||||
type: textarea
|
||||
size: small
|
||||
buttons: false
|
||||
required: true
|
||||
help:
|
||||
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)."
|
||||
width: 3/4
|
||||
gap:
|
||||
type: gap
|
||||
width: 1/4
|
||||
meta_image:
|
||||
label:
|
||||
en: Meta image
|
||||
fr: Méta image
|
||||
type: image-clip
|
||||
query: page.images
|
||||
layout: cards
|
||||
image:
|
||||
cover: true
|
||||
back: white
|
||||
multiple: false
|
||||
required: true
|
||||
clip:
|
||||
minwidth: 1200
|
||||
minheight: 675
|
||||
ratio: fixed
|
||||
help:
|
||||
en: "Image displayed by social networks (format: JPEG or PNG)."
|
||||
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)."
|
||||
width: 1/4
|
||||
# Hidden fields
|
||||
og_type:
|
||||
type: hidden
|
||||
default: website
|
||||
twitter_card_type:
|
||||
type: hidden
|
||||
default: summary_large_image
|
||||
meta_description:
|
||||
label:
|
||||
en: Meta description
|
||||
fr: Méta description
|
||||
type: textarea
|
||||
size: small
|
||||
buttons: false
|
||||
# required: true
|
||||
help:
|
||||
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)."
|
||||
width: 3/4
|
||||
gap:
|
||||
type: gap
|
||||
width: 1/4
|
||||
meta_image:
|
||||
label:
|
||||
en: Meta image
|
||||
fr: Méta image
|
||||
type: image-clip
|
||||
query: page.images
|
||||
layout: cards
|
||||
image:
|
||||
cover: true
|
||||
back: white
|
||||
multiple: false
|
||||
# required: true
|
||||
clip:
|
||||
minwidth: 1200
|
||||
minheight: 675
|
||||
ratio: fixed
|
||||
help:
|
||||
en: "Image displayed by social networks (format: JPEG or PNG)."
|
||||
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)."
|
||||
width: 1/4
|
||||
# Hidden fields
|
||||
og_type:
|
||||
type: hidden
|
||||
default: website
|
||||
twitter_card_type:
|
||||
type: hidden
|
||||
default: summary_large_image
|
||||
|
|
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
|
|
@ -1,14 +1,15 @@
|
|||
headline:
|
||||
en: Pages
|
||||
fr: Pages
|
||||
en: Pages
|
||||
fr: Pages
|
||||
type: pages
|
||||
templates:
|
||||
- home
|
||||
- biography
|
||||
sortBy: title asc
|
||||
- home
|
||||
- about
|
||||
- gallery
|
||||
sortBy: title desc
|
||||
create: false
|
||||
layout: cardlets
|
||||
image:
|
||||
cover: true
|
||||
query: page.images.template('image').first
|
||||
back: white
|
||||
cover: true
|
||||
query: page.images.template('image').first
|
||||
back: white
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue