From 6b0eaaaa2268f2e038945ea35d517d729c8ebd5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Nicou=C3=A9?= Date: Wed, 29 Jun 2022 17:24:41 +0200 Subject: [PATCH] Edit config and blueprints --- site/blueprints/files/artwork.yml | 34 -------- site/blueprints/files/image.yml | 22 ++--- site/blueprints/files/image_video.yml | 34 ++++++++ site/blueprints/files/video.yml | 25 ++++++ site/blueprints/pages/about.yml | 21 +++++ site/blueprints/pages/biography.yml | 21 ----- site/blueprints/pages/error.yml | 6 +- site/blueprints/pages/gallery.yml | 23 +++-- site/blueprints/pages/home.yml | 32 +++---- .../sections/about_content_presentation.yml | 20 +++++ .../biography_content_presentation.yml | 20 ----- .../sections/gallery_content_artworks.yml | 14 ++-- .../sections/gallery_content_introduction.yml | 19 ----- .../sections/generic_seo_metadata.yml | 82 +++++++++--------- .../home_content_background_image.yml | 12 --- .../sections/home_content_contact.yml | 18 ---- .../sections/home_content_exhibitions.yml | 41 +++++++++ .../blueprints/sections/home_seo_metadata.yml | 84 +++++++++---------- .../sections/site_content_contact.yml | 22 +++++ .../sections/site_content_galleries.yml | 14 ---- .../sections/site_content_pages.yml | 17 ++-- site/blueprints/site.yml | 8 +- site/blueprints/tabs/about_content.yml | 6 ++ site/blueprints/tabs/about_seo.yml | 6 ++ site/blueprints/tabs/biography_content.yml | 6 -- site/blueprints/tabs/biography_seo.yml | 6 -- site/blueprints/tabs/gallery_content.yml | 7 +- site/blueprints/tabs/gallery_seo.yml | 6 +- site/blueprints/tabs/home_content.yml | 14 ++-- site/blueprints/tabs/home_seo.yml | 6 +- site/blueprints/tabs/site_analytics.yml | 24 +++--- site/blueprints/tabs/site_content.yml | 15 ++-- site/blueprints/users/editor.yml | 48 +++++------ site/config/config.php | 2 - 34 files changed, 380 insertions(+), 355 deletions(-) delete mode 100644 site/blueprints/files/artwork.yml create mode 100644 site/blueprints/files/image_video.yml create mode 100644 site/blueprints/files/video.yml create mode 100644 site/blueprints/pages/about.yml delete mode 100644 site/blueprints/pages/biography.yml create mode 100644 site/blueprints/sections/about_content_presentation.yml delete mode 100644 site/blueprints/sections/biography_content_presentation.yml delete mode 100644 site/blueprints/sections/gallery_content_introduction.yml delete mode 100644 site/blueprints/sections/home_content_background_image.yml delete mode 100644 site/blueprints/sections/home_content_contact.yml create mode 100644 site/blueprints/sections/home_content_exhibitions.yml create mode 100644 site/blueprints/sections/site_content_contact.yml delete mode 100644 site/blueprints/sections/site_content_galleries.yml create mode 100644 site/blueprints/tabs/about_content.yml create mode 100644 site/blueprints/tabs/about_seo.yml delete mode 100644 site/blueprints/tabs/biography_content.yml delete mode 100644 site/blueprints/tabs/biography_seo.yml diff --git a/site/blueprints/files/artwork.yml b/site/blueprints/files/artwork.yml deleted file mode 100644 index 4ea70bd..0000000 --- a/site/blueprints/files/artwork.yml +++ /dev/null @@ -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 diff --git a/site/blueprints/files/image.yml b/site/blueprints/files/image.yml index d6e5d12..4a5142c 100644 --- a/site/blueprints/files/image.yml +++ b/site/blueprints/files/image.yml @@ -1,14 +1,14 @@ title: Image accept: - mime: image/jpeg, image/png + mime: image/jpeg, image/png fields: - alt_text: - label: - en: Alternative text - fr: Texte alternatif - type: text - caption: - label: - en: Caption - fr: Légende - type: text + alt_text: + label: + en: Alternative text + fr: Texte alternatif + type: text + caption: + label: + en: Caption + fr: Légende + type: text diff --git a/site/blueprints/files/image_video.yml b/site/blueprints/files/image_video.yml new file mode 100644 index 0000000..f7fe077 --- /dev/null +++ b/site/blueprints/files/image_video.yml @@ -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 diff --git a/site/blueprints/files/video.yml b/site/blueprints/files/video.yml new file mode 100644 index 0000000..e66a8ec --- /dev/null +++ b/site/blueprints/files/video.yml @@ -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 diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml new file mode 100644 index 0000000..19a41ba --- /dev/null +++ b/site/blueprints/pages/about.yml @@ -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 diff --git a/site/blueprints/pages/biography.yml b/site/blueprints/pages/biography.yml deleted file mode 100644 index 9cd57d4..0000000 --- a/site/blueprints/pages/biography.yml +++ /dev/null @@ -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 diff --git a/site/blueprints/pages/error.yml b/site/blueprints/pages/error.yml index f3c8a00..dc416e4 100644 --- a/site/blueprints/pages/error.yml +++ b/site/blueprints/pages/error.yml @@ -1,5 +1,5 @@ title: - en: Error - fr: Erreur + en: Error + fr: Erreur options: - read: false + read: false diff --git a/site/blueprints/pages/gallery.yml b/site/blueprints/pages/gallery.yml index 535d410..8faa227 100644 --- a/site/blueprints/pages/gallery.yml +++ b/site/blueprints/pages/gallery.yml @@ -1,10 +1,21 @@ title: - en: Gallery - fr: Galerie + en: Gallery + fr: Galerie icon: file-image status: - draft: true - listed: true + 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/gallery_content - seo: tabs/gallery_seo + content: tabs/gallery_content + seo: tabs/gallery_seo diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index c2efa6f..d10f719 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -1,21 +1,21 @@ title: - en: Home - fr: Accueil + en: Home + fr: Accueil icon: home status: - draft: true - unlisted: true + draft: true + listed: true options: - changeSlug: - admin: true - editor: false - changeStatus: false - changeTemplate: false - changeTitle: - admin: true - editor: false - delete: false - duplicate: false + changeSlug: + admin: true + editor: false + changeStatus: false + changeTemplate: false + changeTitle: + admin: true + editor: false + delete: false + duplicate: false tabs: - content: tabs/home_content - seo: tabs/home_seo + content: tabs/home_content + seo: tabs/home_seo diff --git a/site/blueprints/sections/about_content_presentation.yml b/site/blueprints/sections/about_content_presentation.yml new file mode 100644 index 0000000..5581528 --- /dev/null +++ b/site/blueprints/sections/about_content_presentation.yml @@ -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 + - '|' diff --git a/site/blueprints/sections/biography_content_presentation.yml b/site/blueprints/sections/biography_content_presentation.yml deleted file mode 100644 index 6c06eb8..0000000 --- a/site/blueprints/sections/biography_content_presentation.yml +++ /dev/null @@ -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 - - '|' diff --git a/site/blueprints/sections/gallery_content_artworks.yml b/site/blueprints/sections/gallery_content_artworks.yml index aea5a95..df508a2 100644 --- a/site/blueprints/sections/gallery_content_artworks.yml +++ b/site/blueprints/sections/gallery_content_artworks.yml @@ -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 diff --git a/site/blueprints/sections/gallery_content_introduction.yml b/site/blueprints/sections/gallery_content_introduction.yml deleted file mode 100644 index f29a5fe..0000000 --- a/site/blueprints/sections/gallery_content_introduction.yml +++ /dev/null @@ -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 - - '|' diff --git a/site/blueprints/sections/generic_seo_metadata.yml b/site/blueprints/sections/generic_seo_metadata.yml index d7c9121..28365ec 100644 --- a/site/blueprints/sections/generic_seo_metadata.yml +++ b/site/blueprints/sections/generic_seo_metadata.yml @@ -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 diff --git a/site/blueprints/sections/home_content_background_image.yml b/site/blueprints/sections/home_content_background_image.yml deleted file mode 100644 index fce5978..0000000 --- a/site/blueprints/sections/home_content_background_image.yml +++ /dev/null @@ -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 diff --git a/site/blueprints/sections/home_content_contact.yml b/site/blueprints/sections/home_content_contact.yml deleted file mode 100644 index dfe4b6c..0000000 --- a/site/blueprints/sections/home_content_contact.yml +++ /dev/null @@ -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 diff --git a/site/blueprints/sections/home_content_exhibitions.yml b/site/blueprints/sections/home_content_exhibitions.yml new file mode 100644 index 0000000..a510458 --- /dev/null +++ b/site/blueprints/sections/home_content_exhibitions.yml @@ -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 + + + diff --git a/site/blueprints/sections/home_seo_metadata.yml b/site/blueprints/sections/home_seo_metadata.yml index a37ea1d..5f2eae5 100644 --- a/site/blueprints/sections/home_seo_metadata.yml +++ b/site/blueprints/sections/home_seo_metadata.yml @@ -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 diff --git a/site/blueprints/sections/site_content_contact.yml b/site/blueprints/sections/site_content_contact.yml new file mode 100644 index 0000000..c8fb4fa --- /dev/null +++ b/site/blueprints/sections/site_content_contact.yml @@ -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 diff --git a/site/blueprints/sections/site_content_galleries.yml b/site/blueprints/sections/site_content_galleries.yml deleted file mode 100644 index ec07e17..0000000 --- a/site/blueprints/sections/site_content_galleries.yml +++ /dev/null @@ -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 diff --git a/site/blueprints/sections/site_content_pages.yml b/site/blueprints/sections/site_content_pages.yml index 15863d8..719d57e 100644 --- a/site/blueprints/sections/site_content_pages.yml +++ b/site/blueprints/sections/site_content_pages.yml @@ -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 diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index b7b6729..8743603 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -1,6 +1,6 @@ title: - en: Website - fr: Site web + en: Website + fr: Site web tabs: - content: tabs/site_content - analytics: tabs/site_analytics + content: tabs/site_content + analytics: tabs/site_analytics diff --git a/site/blueprints/tabs/about_content.yml b/site/blueprints/tabs/about_content.yml new file mode 100644 index 0000000..879cde0 --- /dev/null +++ b/site/blueprints/tabs/about_content.yml @@ -0,0 +1,6 @@ +label: + en: Content + fr: Contenu +icon: text +sections: + presentation: sections/about_content_presentation diff --git a/site/blueprints/tabs/about_seo.yml b/site/blueprints/tabs/about_seo.yml new file mode 100644 index 0000000..3483ed9 --- /dev/null +++ b/site/blueprints/tabs/about_seo.yml @@ -0,0 +1,6 @@ +label: + en: SEO + fr: Référencement +icon: search +sections: + seo_basic_meta: sections/generic_seo_metadata diff --git a/site/blueprints/tabs/biography_content.yml b/site/blueprints/tabs/biography_content.yml deleted file mode 100644 index fcc1e9e..0000000 --- a/site/blueprints/tabs/biography_content.yml +++ /dev/null @@ -1,6 +0,0 @@ -label: - en: Content - fr: Contenu -icon: text -sections: - presentation: sections/biography_content_presentation diff --git a/site/blueprints/tabs/biography_seo.yml b/site/blueprints/tabs/biography_seo.yml deleted file mode 100644 index 4c5afb9..0000000 --- a/site/blueprints/tabs/biography_seo.yml +++ /dev/null @@ -1,6 +0,0 @@ -label: - en: SEO - fr: Référencement -icon: search -sections: - seo_basic_meta: sections/generic_seo_metadata diff --git a/site/blueprints/tabs/gallery_content.yml b/site/blueprints/tabs/gallery_content.yml index 0dd4d7a..fd51604 100644 --- a/site/blueprints/tabs/gallery_content.yml +++ b/site/blueprints/tabs/gallery_content.yml @@ -1,7 +1,6 @@ label: - en: Content - fr: Contenu + en: Content + fr: Contenu icon: text sections: - introduction: sections/gallery_content_introduction - artworks: sections/gallery_content_artworks + artworks: sections/gallery_content_artworks diff --git a/site/blueprints/tabs/gallery_seo.yml b/site/blueprints/tabs/gallery_seo.yml index 4c5afb9..3483ed9 100644 --- a/site/blueprints/tabs/gallery_seo.yml +++ b/site/blueprints/tabs/gallery_seo.yml @@ -1,6 +1,6 @@ label: - en: SEO - fr: Référencement + en: SEO + fr: Référencement icon: search sections: - seo_basic_meta: sections/generic_seo_metadata + seo_basic_meta: sections/generic_seo_metadata diff --git a/site/blueprints/tabs/home_content.yml b/site/blueprints/tabs/home_content.yml index 8810fb0..e4fb149 100644 --- a/site/blueprints/tabs/home_content.yml +++ b/site/blueprints/tabs/home_content.yml @@ -1,11 +1,7 @@ label: - en: Content - fr: Contenu + en: Content + fr: Contenu icon: text -columns: - - width: 1/2 - sections: - background_image: sections/home_content_background_image - - width: 1/2 - sections: - contact: sections/home_content_contact +sections: + exhibitions: sections/home_content_exhibitions + \ No newline at end of file diff --git a/site/blueprints/tabs/home_seo.yml b/site/blueprints/tabs/home_seo.yml index b48b371..22db6c9 100644 --- a/site/blueprints/tabs/home_seo.yml +++ b/site/blueprints/tabs/home_seo.yml @@ -1,6 +1,6 @@ label: - en: SEO - fr: Référencement + en: SEO + fr: Référencement icon: search sections: - seo_basic_meta: sections/home_seo_metadata + seo_basic_meta: sections/home_seo_metadata diff --git a/site/blueprints/tabs/site_analytics.yml b/site/blueprints/tabs/site_analytics.yml index 9c6d80c..c7beb6b 100644 --- a/site/blueprints/tabs/site_analytics.yml +++ b/site/blueprints/tabs/site_analytics.yml @@ -1,15 +1,15 @@ label: - en: Analytics - fr: Audience + en: Analytics + fr: Audience icon: chart columns: - - width: 1/4 - sticky: true - sections: - sidebar: - type: matomo-sidebar - link: false - - width: 3/4 - sections: - main: - type: matomo-main + - width: 1/4 + sticky: true + sections: + sidebar: + type: matomo-sidebar + link: false + - width: 3/4 + sections: + main: + type: matomo-main diff --git a/site/blueprints/tabs/site_content.yml b/site/blueprints/tabs/site_content.yml index 88d36f8..05eba64 100644 --- a/site/blueprints/tabs/site_content.yml +++ b/site/blueprints/tabs/site_content.yml @@ -1,12 +1,7 @@ label: - en: Website - fr: Site web + en: Website + fr: Site web icon: home -columns: - - width: 1/4 - sticky: true - sections: - pages: sections/site_content_pages - - width: 3/4 - sections: - galleries: sections/site_content_galleries +sections: + pages: sections/site_content_pages + contact: sections/site_content_contact diff --git a/site/blueprints/users/editor.yml b/site/blueprints/users/editor.yml index 867b658..8c7d8d2 100644 --- a/site/blueprints/users/editor.yml +++ b/site/blueprints/users/editor.yml @@ -1,29 +1,29 @@ title: - en: Editor - fr: Éditeur·ice + en: Editor + fr: Éditeur·ice description: - en: The Editor can create and edit pages - fr: L'éditeur·ice peut créer et modifier des pages + en: The Editor can create and edit pages + fr: L'éditeur·ice peut créer et modifier des pages permissions: - access: - settings: false - languages: - create: false - delete: false - site: - changeTitle: false - user: - changeRole: false - delete: false - users: - changeEmail: false - changeLanguage: false - changeName: false - changePassword: false - changeRole: false - create: false - delete: false - update: false + access: + settings: false + languages: + create: false + delete: false + site: + changeTitle: false + user: + changeRole: false + delete: false + users: + changeEmail: false + changeLanguage: false + changeName: false + changePassword: false + changeRole: false + create: false + delete: false + update: false sections: - info: false + info: false diff --git a/site/config/config.php b/site/config/config.php index 5dfc8b9..0261c6b 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -2,8 +2,6 @@ return [ // Kirby configuration settings - 'home' => 'accueil', - 'error' => 'erreur', 'panel' => [ 'language' => 'fr', 'css' => 'assets/css/panel.min.css'