diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml index d0292bc3ca4408e7aa3dde17bb5772f103aa9bbd..0874d838f2f0b0825833d6d9c26273735b080002 100644 --- a/.forestry/front_matter/templates/single.yml +++ b/.forestry/front_matter/templates/single.yml @@ -68,26 +68,40 @@ fields: file: path: label: Type + description: "'overlay': des infos sur une couleur ou une image de fond (l'image + est prioritaire)" - name: color type: color config: required: false color_format: Hex label: Couleur + showOnly: + field: type + value: overlay - name: overlay_image type: file config: maxSize: '15' label: Image + showOnly: + field: type + value: overlay - name: fixed_image type: file config: maxSize: '15' label: Image + showOnly: + field: type + value: image - name: overlay_title type: boolean label: Titre sur l'entête default: true + showOnly: + field: type + value: overlay - name: show_text type: select default: description