diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index b13a130..6c47569 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -22,6 +22,8 @@ tabs: type: writer label: Titre help: Titre principal de la section intro. + marks: + - pixel subtitle: type: text buttons: false diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index 3c7802d..5de0ca2 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -20,9 +20,7 @@ tabs: fields: subtitle: label: Sous-titre - type: writer - marks: false - nodes: false + type: text ctaText: width: 1/2 label: Texte du bouton CTA diff --git a/site/templates/home.json.php b/site/templates/home.json.php index a7d53c2..c8a64d8 100644 --- a/site/templates/home.json.php +++ b/site/templates/home.json.php @@ -2,9 +2,7 @@ $specificData = [ 'hero' => [ - 'title' => $page->heroTitle()->value(), - 'titleHighlight' => $page->heroTitleHighlight()->value(), - 'subtitle' => $page->heroSubtitle()->value(), + 'subtitle' => $page->subtitle()->inline()->value(), 'ctaText' => $page->ctaText()->value(), 'ctaPath' => $page->ctaLink()->toPage()?->id() ?? '#', 'image' => $page->heroImage()->toFile()?->url()