added menu edition
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
maximeg 2024-02-25 18:24:38 +01:00
parent 8a72d13d11
commit 0037280ce4
4 changed files with 37 additions and 24 deletions

View file

@ -0,0 +1,9 @@
---
title: Contactez-nous
Description: C'est la description de la page
description: c'est la deuxième description de la page
featured_image: images/vlcsnap-2022-08-13-18h09m04s198.png
---
Vous pouvez nous contactez par mail à contact@envieappartagee.fr
Retrouvez aussi l'Association Envie Appart'Âgée sur Facebook, Linkedin et Hello Asso

View file

@ -1,6 +1,6 @@
baseURL = 'https://palettetest.web.deuxfleurs.fr/'
languageCode = 'fr'
title = 'My New Hugo Site'
title = 'Palette Test'
theme = 'ananke'
#sectionPagesMenu = "main"

View file

@ -24,4 +24,8 @@ weight = "1"
[[menus.main]]
name = "Page de test"
url = "/pages/"
weight = "1"
weight = "1"
[[menus.main]]
name = "Contactez-nous"
url = "/pages/contactez-nous/"

View file

@ -101,28 +101,28 @@ collections:
- name: url
label: 'Lien du compte'
widget: string
# - label: 'Paramètres du menu'
# name: menus
# widget: object
# collapsed: true
# fields:
# - label: 'Menu en haut'
# name: main
# widget: list
# collapsed: true
# summary: '{{fields.name | upper}}'
# add_to_top: false
# label_singular: 'Sous menu'
# fields:
# - label: 'Nom dans le menu'
# name: name
# widget: string
# - label: 'Page référencée'
# name: pageRef
# widget: string
# - label: 'Poids'
# name: weight
# widget: number
- label: 'Paramètres du menu'
name: menus
widget: object
collapsed: true
fields:
- label: 'Menu supérieur'
name: main
widget: list
collapsed: true
summary: '{{fields.name | upper}}'
add_to_top: false
label_singular: 'Section'
fields:
- label: 'Nom dans le menu'
name: name
widget: string
- label: 'Page référencée'
name: url
widget: string
- label: 'Poids'
name: weight
widget: number