menu try
This commit is contained in:
parent
aa5a658e20
commit
cbe7552f34
3 changed files with 28 additions and 2 deletions
|
@ -50,9 +50,10 @@ collections:
|
|||
file: 'hugo_config/_default/theme_settings.toml'
|
||||
extension: toml
|
||||
fields:
|
||||
- label: 'Paramètres'
|
||||
- label: 'Paramètres du thème'
|
||||
name: params
|
||||
widget: object
|
||||
collapsed: true
|
||||
fields:
|
||||
- name: site_logo
|
||||
label: "Logo du site"
|
||||
|
@ -97,4 +98,29 @@ 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue