diff --git a/site/blueprints/pages/investigation.yml b/site/blueprints/pages/investigation.yml index cf776d0..5bce988 100644 --- a/site/blueprints/pages/investigation.yml +++ b/site/blueprints/pages/investigation.yml @@ -32,37 +32,17 @@ tabs: type: writer nodes: false buttons: false - heroType: - label: Type de hero - type: select - default: image - options: - image: Image simple - video: Vidéo - default: image - width: 1/3 - heroImages: - label: Images hero - type: files - multiple: true - layout: cards - width: 1/3 - when: - heroType: image videoPreview: - label: Preview + label: Preview vidéo type: files multiple: false - help: Extrait joué en autoplay muet. - width: 1/3 - when: - heroType: video + help: "Extrait joué en autoplay muet. À remplir avec l'URL vidéo — les deux champs vont ensemble." + width: 1/2 videoUrl: label: URL vidéo complète (YouTube embed) type: url - width: 1/3 - when: - heroType: video + width: 1/2 + help: "À remplir avec la preview — les deux champs vont ensemble." heroCaption: label: Légende du hero type: writer diff --git a/site/templates/investigation.php b/site/templates/investigation.php index b1ac59f..e0bb37d 100644 --- a/site/templates/investigation.php +++ b/site/templates/investigation.php @@ -29,27 +29,17 @@