From ad179f31711f29a95a8d1150bc9f60349786c1c9 Mon Sep 17 00:00:00 2001
From: Cult Ure <webmasters@luminy.org>
Date: Sun, 24 Nov 2019 19:09:36 +0000
Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration

---
 .forestry/front_matter/templates/single.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml
index d0292bc..0874d83 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
-- 
GitLab