Edit yaml files indentation style

This commit is contained in:
Paul Nicoué 2022-09-06 09:56:38 +02:00
parent d48c3c3321
commit d916cac8c9
27 changed files with 349 additions and 347 deletions

View file

@ -11,3 +11,6 @@ insert_final_newline = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.{yaml,yml}]
indent_style = space

View file

@ -1,46 +1,46 @@
title: Artwork title: Artwork
accept: accept:
mime: image/jpeg, image/png, video/mp4 mime: image/jpeg, image/png, video/mp4
fields: fields:
alt_text: alt_text:
when: when:
file_type: image file_type: image
label: label:
en: Alternative text en: Alternative text
fr: Texte alternatif fr: Texte alternatif
type: text type: text
help: help:
en: "Short description displayed if the image can't be loaded and used by screen readers." en: "Short description displayed if the image can't be loaded and used by screen readers."
fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran." fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran."
poster: poster:
when: when:
file_type: video file_type: video
label: label:
en: Poster en: Poster
fr: Vignette fr: Vignette
type: files type: files
uploads: image uploads: image
layout: cards layout: cards
image: image:
ratio: 16/9 ratio: 16/9
cover: true cover: true
back: white back: white
multiple: false multiple: false
help: help:
en: "Image displayed before video playback (format: JPEG or PNG). The first image of the video is used if this field is empty." 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." 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 width: 1/4
caption: caption:
label: label:
en: Caption en: Caption
fr: Légende fr: Légende
type: textarea type: textarea
buttons: buttons:
- bold - bold
- italic - italic
- '|' - '|'
- link - link
- '|' - '|'
help: help:
en: "Informative text displayed below the image or video." en: "Informative text displayed below the image or video."
fr: "Texte informatif affiché sous l'image ou la vidéo." fr: "Texte informatif affiché sous l'image ou la vidéo."

View file

@ -1,26 +1,26 @@
title: Image title: Image
accept: accept:
mime: image/jpeg, image/png mime: image/jpeg, image/png
fields: fields:
alt_text: alt_text:
label: label:
en: Alternative text en: Alternative text
fr: Texte alternatif fr: Texte alternatif
type: text type: text
help: help:
en: "Short description displayed if the image can't be loaded and used by screen readers." en: "Short description displayed if the image can't be loaded and used by screen readers."
fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran." fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran."
caption: caption:
label: label:
en: Caption en: Caption
fr: Légende fr: Légende
type: textarea type: textarea
buttons: buttons:
- bold - bold
- italic - italic
- '|' - '|'
- link - link
- '|' - '|'
help: help:
en: "Informative text displayed below the image." en: "Informative text displayed below the image."
fr: "Texte informatif affiché sous l'image." fr: "Texte informatif affiché sous l'image."

View file

@ -1,21 +1,21 @@
title: title:
en: Biography en: Biography
fr: Biographie fr: Biographie
icon: text icon: text
status: status:
draft: true draft: true
unlisted: true unlisted: true
options: options:
changeSlug: changeSlug:
admin: true admin: true
editor: false editor: false
changeStatus: false changeStatus: false
changeTemplate: false changeTemplate: false
changeTitle: changeTitle:
admin: true admin: true
editor: false editor: false
delete: false delete: false
duplicate: false duplicate: false
tabs: tabs:
content: tabs/biography_content content: tabs/biography_content
seo: tabs/biography_seo seo: tabs/biography_seo

View file

@ -1,5 +1,5 @@
title: title:
en: Error en: Error
fr: Erreur fr: Erreur
options: options:
read: false read: false

View file

@ -1,10 +1,10 @@
title: title:
en: Gallery en: Gallery
fr: Galerie fr: Galerie
icon: file-image icon: file-image
status: status:
draft: true draft: true
listed: true listed: true
tabs: tabs:
content: tabs/gallery_content content: tabs/gallery_content
seo: tabs/gallery_seo seo: tabs/gallery_seo

View file

@ -1,21 +1,21 @@
title: title:
en: Home en: Home
fr: Accueil fr: Accueil
icon: home icon: home
status: status:
draft: true draft: true
unlisted: true unlisted: true
options: options:
changeSlug: changeSlug:
admin: true admin: true
editor: false editor: false
changeStatus: false changeStatus: false
changeTemplate: false changeTemplate: false
changeTitle: changeTitle:
admin: true admin: true
editor: false editor: false
delete: false delete: false
duplicate: false duplicate: false
tabs: tabs:
content: tabs/home_content content: tabs/home_content
seo: tabs/home_seo seo: tabs/home_seo

View file

@ -1,20 +1,20 @@
type: fields type: fields
fields: fields:
text: text:
label: label:
en: Presentation text en: Presentation text
fr: Texte de présentation fr: Texte de présentation
type: textarea type: textarea
required: true required: true
size: large size: large
buttons: buttons:
- headlines - headlines
- '|' - '|'
- bold - bold
- italic - italic
- '|' - '|'
- link - link
- email - email
- '|' - '|'
- ul - ul
- '|' - '|'

View file

@ -1,6 +1,6 @@
headline: headline:
en: Artworks en: Artworks
fr: Œuvres fr: Œuvres
type: files type: files
template: artwork template: artwork
min: 1 min: 1
@ -8,5 +8,5 @@ layout: cards
size: small size: small
limit: 40 limit: 40
image: image:
ratio: 1/1 ratio: 1/1
back: white back: white

View file

@ -1,19 +1,19 @@
type: fields type: fields
fields: fields:
text: text:
label: label:
en: Introduction text en: Introduction text
fr: Texte d'introduction fr: Texte d'introduction
type: textarea type: textarea
size: medium size: medium
buttons: buttons:
- headlines - headlines
- '|' - '|'
- bold - bold
- italic - italic
- '|' - '|'
- link - link
- email - email
- '|' - '|'
- ul - ul
- '|' - '|'

View file

@ -1,43 +1,43 @@
type: fields type: fields
fields: fields:
meta_description: meta_description:
label: label:
en: Meta description en: Meta description
fr: Méta description fr: Méta description
type: textarea type: textarea
size: small size: small
buttons: false buttons: false
help: 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." 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." 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 width: 3/4
gap: gap:
type: gap type: gap
width: 1/4 width: 1/4
meta_image: meta_image:
label: label:
en: Meta image en: Meta image
fr: Méta image fr: Méta image
type: image-clip type: image-clip
query: page.images query: page.images
uploads: image uploads: image
layout: cards layout: cards
image: image:
cover: true cover: true
back: white back: white
multiple: false multiple: false
clip: clip:
minwidth: 1200 minwidth: 1200
minheight: 675 minheight: 675
ratio: fixed ratio: fixed
help: help:
en: "Image displayed by social networks (format: JPEG or PNG). Home page meta image is used if this field is empty." 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." 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 width: 1/4
# Hidden fields # Hidden fields
og_type: og_type:
type: hidden type: hidden
default: article default: article
twitter_card_type: twitter_card_type:
type: hidden type: hidden
default: summary_large_image default: summary_large_image

View file

@ -1,6 +1,6 @@
headline: headline:
en: Background image en: Background image
fr: Image de fond fr: Image de fond
type: files type: files
template: image template: image
min: 1 min: 1
@ -8,5 +8,5 @@ max: 1
layout: cards layout: cards
size: medium size: medium
image: image:
ratio: 1/1 ratio: 1/1
back: white back: white

View file

@ -1,18 +1,18 @@
headline: headline:
en: Contact and social networks en: Contact and social networks
fr: Contact et réseaux sociaux fr: Contact et réseaux sociaux
type: fields type: fields
fields: fields:
email: email:
label: label:
en: Email en: Email
fr: Adresse e-mail fr: Adresse e-mail
type: email type: email
required: true required: true
instagram: instagram:
type: url type: url
label: label:
en: Instagram account en: Instagram account
fr: Compte Instagram fr: Compte Instagram
icon: instagram icon: instagram
required: true required: true

View file

@ -1,44 +1,44 @@
type: fields type: fields
fields: fields:
meta_description: meta_description:
label: label:
en: Meta description en: Meta description
fr: Méta description fr: Méta description
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)."
width: 3/4 width: 3/4
gap: gap:
type: gap type: gap
width: 1/4 width: 1/4
meta_image: meta_image:
label: label:
en: Meta image en: Meta image
fr: Méta image fr: Méta image
type: image-clip type: image-clip
query: page.images query: page.images
layout: cards layout: cards
image: image:
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
ratio: fixed ratio: fixed
help: help:
en: "Image displayed by social networks (format: JPEG or PNG)." en: "Image displayed by social networks (format: JPEG or PNG)."
fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)." fr: "Image affichée par les réseaux sociaux (format : JPEG ou PNG)."
width: 1/4 width: 1/4
# Hidden fields # Hidden fields
og_type: og_type:
type: hidden type: hidden
default: website default: website
twitter_card_type: twitter_card_type:
type: hidden type: hidden
default: summary_large_image default: summary_large_image

View file

@ -1,6 +1,6 @@
headline: headline:
en: Galleries en: Galleries
fr: Galeries fr: Galeries
type: pages type: pages
template: gallery template: gallery
min: 2 min: 2
@ -8,7 +8,7 @@ max: 4
layout: cards layout: cards
size: small size: small
image: image:
ratio: 1/1 ratio: 1/1
cover: true cover: true
query: page.images.template('artwork').sortBy('sort').first query: page.images.template('artwork').sortBy('sort').first
back: white back: white

View file

@ -1,14 +1,14 @@
headline: headline:
en: Pages en: Pages
fr: Pages fr: Pages
type: pages type: pages
templates: templates:
- home - home
- biography - biography
sortBy: title asc sortBy: title asc
create: false create: false
layout: cardlets layout: cardlets
image: image:
cover: true cover: true
query: page.images.template('image').first query: page.images.template('image').first
back: white back: white

View file

@ -1,6 +1,6 @@
title: title:
en: Website en: Website
fr: Site web fr: Site web
tabs: tabs:
content: tabs/site_content content: tabs/site_content
analytics: tabs/site_analytics analytics: tabs/site_analytics

View file

@ -1,6 +1,6 @@
label: label:
en: Content en: Content
fr: Contenu fr: Contenu
icon: text icon: text
sections: sections:
presentation: sections/biography_content_presentation presentation: sections/biography_content_presentation

View file

@ -1,6 +1,6 @@
label: label:
en: SEO en: SEO
fr: Référencement fr: Référencement
icon: search icon: search
sections: sections:
seo_basic_meta: sections/generic_seo_metadata seo_basic_meta: sections/generic_seo_metadata

View file

@ -1,7 +1,7 @@
label: label:
en: Content en: Content
fr: Contenu fr: Contenu
icon: text icon: text
sections: sections:
introduction: sections/gallery_content_introduction introduction: sections/gallery_content_introduction
artworks: sections/gallery_content_artworks artworks: sections/gallery_content_artworks

View file

@ -1,6 +1,6 @@
label: label:
en: SEO en: SEO
fr: Référencement fr: Référencement
icon: search icon: search
sections: sections:
seo_basic_meta: sections/generic_seo_metadata seo_basic_meta: sections/generic_seo_metadata

View file

@ -1,11 +1,11 @@
label: label:
en: Content en: Content
fr: Contenu fr: Contenu
icon: text icon: text
columns: columns:
- width: 1/2 - width: 1/2
sections: sections:
background_image: sections/home_content_background_image background_image: sections/home_content_background_image
- width: 1/2 - width: 1/2
sections: sections:
contact: sections/home_content_contact contact: sections/home_content_contact

View file

@ -1,6 +1,6 @@
label: label:
en: SEO en: SEO
fr: Référencement fr: Référencement
icon: search icon: search
sections: sections:
seo_basic_meta: sections/home_seo_metadata seo_basic_meta: sections/home_seo_metadata

View file

@ -1,15 +1,15 @@
label: label:
en: Analytics en: Analytics
fr: Audience fr: Audience
icon: chart icon: chart
columns: columns:
- width: 1/4 - width: 1/4
sticky: true sticky: true
sections: sections:
sidebar: sidebar:
type: matomo-sidebar type: matomo-sidebar
link: false link: false
- width: 3/4 - width: 3/4
sections: sections:
main: main:
type: matomo-main type: matomo-main

View file

@ -1,12 +1,12 @@
label: label:
en: Website en: Website
fr: Site web fr: Site web
icon: home icon: home
columns: columns:
- width: 1/4 - width: 1/4
sticky: true sticky: true
sections: sections:
pages: sections/site_content_pages pages: sections/site_content_pages
- width: 3/4 - width: 3/4
sections: sections:
galleries: sections/site_content_galleries galleries: sections/site_content_galleries

View file

@ -1,15 +1,15 @@
title: title:
en: Administrator en: Administrator
fr: Administrateur·ice fr: Administrateur·ice
description: description:
en: The Administrator has all rights en: The Administrator has all rights
fr: L'Administrateur·ice dispose de tous les droits fr: L'Administrateur·ice dispose de tous les droits
sections: sections:
info: info:
headline: headline:
en: Website en: Website
fr: Site internet fr: Site internet
theme: none theme: none
width: 1/2 width: 1/2
text: | text: |
(link: https://paulnicoue.com text: paulnicoue.com target: _blank) (link: https://paulnicoue.com text: paulnicoue.com target: _blank)

View file

@ -1,29 +1,28 @@
title: title:
en: Editor en: Editor
fr: Éditeur·ice fr: Éditeur·ice
description: description:
en: The Editor can create and edit pages en: The Editor can create and edit pages
fr: L'éditeur·ice peut créer et modifier des pages fr: L'éditeur·ice peut créer et modifier des pages
permissions: permissions:
access: access:
settings: false settings: false
languages: languages:
create: false create: false
delete: false delete: false
site: site:
changeTitle: false changeTitle: false
user: user:
changeRole: false changeRole: false
delete: false delete: false
users: users:
changeEmail: false changeEmail: false
changeLanguage: false changeLanguage: false
changeName: false changeName: false
changePassword: false changePassword: false
changeRole: false changeRole: false
create: false create: false
delete: false delete: false
update: false update: false
sections: sections:
info: false info: false