diff --git a/.forestry/front_matter/templates/template-auteurs.yml b/.forestry/front_matter/templates/template-auteurs.yml index 525f06defef60d915eaecbc71ac508c3023016c7..f30ce2de279b818e3fe4a073a5d387744d594761 100644 --- a/.forestry/front_matter/templates/template-auteurs.yml +++ b/.forestry/front_matter/templates/template-auteurs.yml @@ -56,3 +56,5 @@ fields: contenant la page détermine l'auteur. config: labelField: name +pages: +- _data/authors.yml diff --git a/.forestry/front_matter/templates/template-navigations.yml b/.forestry/front_matter/templates/template-navigations.yml new file mode 100644 index 0000000000000000000000000000000000000000..a43703ba55e79e7ca9eff1a1b80af6734dbecfac --- /dev/null +++ b/.forestry/front_matter/templates/template-navigations.yml @@ -0,0 +1,69 @@ +--- +label: Template navigations +hide_body: true +fields: +- type: field_group_list + name: main + label: Navigation principale du haut. + fields: + - type: text + name: title + label: Label + - type: text + name: url + label: URL + description: Commun à tout luminy.org + config: + labelField: title +- type: field_group_list + name: navs + label: Navigations ad-hoc + fields: + - type: text + 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: false + label: Section + description: Peut être vide, dans ce cas le titre de la section ne sera pas + affiché, mais les sous-sections oui. + - name: url + type: text + config: + required: false + label: URL + description: idem + - 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 +pages: +- _data/navigation.yml diff --git a/.forestry/settings.yml b/.forestry/settings.yml index a541ac9419ed8385eebcc5c5516ae72e85ec6b8f..6727ecd46fdc9503343b7eff9d30d0dc6e055914 100644 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -61,6 +61,11 @@ sections: - type: document path: _data/navigation.yml label: Navigations +- type: document + path: _config.yml + label: config + match: "**/*" + read_only: true upload_dir: assets/images public_path: "/assets/images" front_matter_path: '' diff --git a/_data/authors.yml b/_data/authors.yml index 3eebd461cc2a27a860ba1da7c6087dbdfa13f0c8..023bce64f4e58d1558294d095663b5e8ea445a44 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -30,6 +30,7 @@ authors: facebook: jardinluminy helloasso: jardin-universitaire-de-luminy links: + og_image: '' - name: Club de Science Luminy prefix: club-science avatar: "/assets/images/authors-logo/logo-club-sciences.jpeg" @@ -37,6 +38,9 @@ authors: location: Luminy email: club.science.luminy@gmail.com facebook: Club-de-Science-Luminy-114357542612098/ + banner: '' + helloasso: '' + og_image: '' - name: FSE Luminy prefix: fse avatar: "/assets/images/authors-logo/fse-transparent.png" @@ -44,6 +48,10 @@ authors: campus ! location: Cité U & Hexagone facebook: https://www.facebook.com/FSE.Luminy/ + banner: '' + email: '' + helloasso: '' + og_image: '' - name: Café des Langues prefix: cafe-des-langues avatar: "/assets/images/authors-logo/cafe-des-langues.png" @@ -53,6 +61,9 @@ authors: uri: https://www.dropbox.com/sh/6xn3uv56ao1ttkg/AAAAJwwZIFg6zstXIRPo1gdga?dl=0&fbclid=IwAR2Q58fOCrfKTtEBtpShFKWxwarcXTe0NgfJXjMeIcXyrhLsFVKnwR1Z_VA facebook: https://www.facebook.com/cafedeslanguesluminy twitter: Cafe_Langues + banner: '' + helloasso: '' + og_image: '' - name: ALLIÉ prefix: allie avatar: "/assets/images/authors-logo/allie.png" @@ -62,3 +73,6 @@ authors: uri: http://allie-luminy.e-monsite.com/ email: allie@luminy.org facebook: https://www.facebook.com/alliejournal/ + banner: '' + helloasso: '' + og_image: '' diff --git a/_data/navigation.yml b/_data/navigation.yml index dc6afe642c08ff3c5a259a0b49602d2138285fc3..2df005edeb2b4f108577f92c9603ddd7381711cc 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,67 +1,65 @@ -# mashead links +--- main: - - title: "Agenda" - url: /agenda/ - - title: "Le Grenier" - url: /grenier/ - - title: "À Propos" - url: /about/ - - - +- title: Agenda + url: "/agenda/" +- title: Le Grenier + url: "/grenier/" +- title: À Propos + url: "/about/" navs: - - name: "ccl" - nav: - - title: "Activités" - url: "/ccl/activites/" - children: - - title: "Concerts et festivals" - url: /ccl/activites/concerts/ - - title: "Toukouleur" - url: /ccl/activites/toukouleur/ - - title: "Les jeudis du CCL" - url: /ccl/activites/jeudis/ - - title: "Campus propre" - url: /ccl/activites/campus-propre/ - - title: "Projections" - url: /ccl/activites/projections/ - - title: "Ateliers et animation" - url: /ccl/activites/ateliers/ - - title: "Projets" - url: /ccl/activites/projets/ - - title: "L'association" - url: "/ccl/" - children: - - title: "Qui sommes-nous ?" - url: /ccl/l-asso/presentation-longue/ - - title: "Adhérer" - url: /ccl/l-asso/adherer/ - - title: "Statuts" - url: /ccl/l-asso/statuts/ - - title: "Contacts" - url: /ccl/l-asso/contacts/ - - name: "jardin" - nav: - - title: "" - url: "/jardin/" - children: - - title: "Paniers bio" - url: /jardin/paniers/ - - title: "Gallerie" - url: /jardin/gallerie/ - - name: "club-science" - nav: - - title: "Club science" - url: /club-science/ - children: - - title: "Ressources" - url: /club-science/ressources/ - - title: "Contacts" - utl: /club-science/contacts/ - - name: "fse" - nav: - - title: "FSE Luminy" - url: /fse/ - children: - - title: "Communiqués de presse" - url: /fse/communiques +- name: ccl + nav: + - title: Activités + url: "/ccl/activites/" + children: + - title: Concerts et festivals + url: "/ccl/activites/concerts/" + - title: Toukouleur + url: "/ccl/activites/toukouleur/" + - title: Les jeudis du CCL + url: "/ccl/activites/jeudis/" + - title: Campus propre + url: "/ccl/activites/campus-propre/" + - title: Projections + url: "/ccl/activites/projections/" + - title: Ateliers et animation + url: "/ccl/activites/ateliers/" + - title: Projets + url: "/ccl/activites/projets/" + - title: L'association + url: "/ccl/" + children: + - title: Qui sommes-nous ? + url: "/ccl/l-asso/presentation-longue/" + - title: Adhérer + url: "/ccl/l-asso/adherer/" + - title: Statuts + url: "/ccl/l-asso/statuts/" + - title: Contacts + url: "/ccl/l-asso/contacts/" +- name: jardin + nav: + - title: '' + url: "/jardin/" + children: + - title: Paniers bio + url: "/jardin/paniers/" + - title: Gallerie + url: "/jardin/gallerie/" +- name: club-science + nav: + - title: Club science + url: "/club-science/" + children: + - title: Ressources + url: "/club-science/ressources/" + - title: Contacts + utl: "/club-science/contacts/" + url: '' +- name: fse + nav: + - title: FSE Luminy + url: "/fse/" + children: + - title: Communiqués de presse + url: "/fse/communiques"