added menu edition
This commit is contained in:
parent
8a72d13d11
commit
0037280ce4
4 changed files with 37 additions and 24 deletions
9
content/pages/Contactez-nous/_index.md
Normal file
9
content/pages/Contactez-nous/_index.md
Normal 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
|
|
@ -1,6 +1,6 @@
|
|||
baseURL = 'https://palettetest.web.deuxfleurs.fr/'
|
||||
languageCode = 'fr'
|
||||
title = 'My New Hugo Site'
|
||||
title = 'Palette Test'
|
||||
theme = 'ananke'
|
||||
#sectionPagesMenu = "main"
|
||||
|
||||
|
|
|
@ -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/"
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue