From f45fba8b7ce4b5cd964580c3b63d67bcadd62598 Mon Sep 17 00:00:00 2001 From: Cult Ure <webmasters@luminy.org> Date: Sun, 24 Nov 2019 21:14:14 +0000 Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration --- .forestry/front_matter/templates/single.yml | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml index 048f4b7..b3550c5 100644 --- a/.forestry/front_matter/templates/single.yml +++ b/.forestry/front_matter/templates/single.yml @@ -179,6 +179,36 @@ fields: showOnly: field: type value: overlay + - name: video + type: field_group + config: {} + fields: + - name: id + type: text + config: + required: false + label: Identifiant de la vidéo + description: Par exemple https://www.youtube.com/watch?v=**rKNMf4LFX44** (mettre + uniquement la partie en gras) + - name: provider + type: select + default: youtube + config: + required: false + options: + - youtube + - vimeo + - google-drive + source: + type: simple + section: + file: + path: + label: Fournisseur + label: Vidéo + showOnly: + field: type + value: video label: Entête showOnly: field: has_header -- GitLab