From e08af9a7826998d5f1217956aaf2d415172455e3 Mon Sep 17 00:00:00 2001 From: Cult Ure <webmasters@luminy.org> Date: Mon, 25 Nov 2019 03:01:07 +0000 Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration --- .../templates/template-navigations.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.forestry/front_matter/templates/template-navigations.yml b/.forestry/front_matter/templates/template-navigations.yml index 87797c8..738bb96 100644 --- a/.forestry/front_matter/templates/template-navigations.yml +++ b/.forestry/front_matter/templates/template-navigations.yml @@ -23,6 +23,42 @@ fields: name: name label: Nom court de l'auteur description: Voir le champs "nom court (prefix)" dans "Les auteurs" + - name: nav + type: field_group_list + fields: + - name: title + type: text + config: + required: true + label: Section + - name: url + type: text + config: + required: false + label: URL + - name: children + type: field_group_list + fields: + - name: title + type: text + config: + required: false + label: Nom de la sous-section + - name: url + type: text + config: + required: false + label: URL + config: + min: + max: + labelField: title + label: Sous-section + config: + min: '1' + max: + labelField: title + label: Arborescence description: Les arborescences associƩs aux auteurs/assos/collectifs config: labelField: name -- GitLab