diff --git a/site/blueprints/files/cover.yml b/site/blueprints/files/cover.yml deleted file mode 100644 index ca64d64..0000000 --- a/site/blueprints/files/cover.yml +++ /dev/null @@ -1,12 +0,0 @@ -title: Image de couverture - -fields: - alt: - label: Texte alternatif - type: text - help: Description de l'image pour l'accessibilité - caption: - label: Légende - type: textarea - size: small - help: Légende affichée sous l'image diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml index c062b0b..d3daa5a 100644 --- a/site/blueprints/pages/investigation-summary.yml +++ b/site/blueprints/pages/investigation-summary.yml @@ -33,8 +33,6 @@ tabs: min: 1 layout: cards size: full - uploads: - template: cover image: ratio: 12/7 cover: true diff --git a/site/snippets/blocks/heading.php b/site/snippets/blocks/heading.php deleted file mode 100644 index f2d61fd..0000000 --- a/site/snippets/blocks/heading.php +++ /dev/null @@ -1,4 +0,0 @@ -level()->or('h2'); -?> -<>text() ?>> diff --git a/site/snippets/blocks/image.php b/site/snippets/blocks/image.php deleted file mode 100644 index ec2beee..0000000 --- a/site/snippets/blocks/image.php +++ /dev/null @@ -1,8 +0,0 @@ -image()->toFile()): ?> -
- <?= $block->alt()->or($image->alt()) ?> - caption()->isNotEmpty()): ?> -
caption() ?>
- -
- diff --git a/site/snippets/blocks/text.php b/site/snippets/blocks/text.php deleted file mode 100644 index c0078c3..0000000 --- a/site/snippets/blocks/text.php +++ /dev/null @@ -1 +0,0 @@ -text() ?> diff --git a/site/templates/investigation-summary.php b/site/templates/investigation-summary.php index f8b5e09..72cdec1 100644 --- a/site/templates/investigation-summary.php +++ b/site/templates/investigation-summary.php @@ -14,19 +14,17 @@ cover()->toFile()): ?> - caption()->isNotEmpty()): ?> -
caption() ?>
- +
caption() ?>