test sans params

This commit is contained in:
maxime-cool 2024-01-24 18:56:43 +01:00
parent ee262eb0cc
commit f55322d3f4

View file

@ -34,16 +34,17 @@ collections:
# media_library: # media_library:
# config: # config:
# multiple: true # multiple: true
- label: 'Paramètres' - label: 'Configuration'
name: settings name: settings
files: files:
- label: 'Configuration du thème' - label: 'Configuration du thème'
name: theme settings name: theme settings
file: 'hugo_config/_default/theme_settings.toml' file: 'hugo_config/_default/theme_settings.toml'
extension: toml extension: toml
fields:
- label: 'Paramètres'
name: params
widget: object
fields: fields:
- { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] } - { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] }
# - label: 'Paramètres'
# name: params
# widget: object
# fields: