added object params

This commit is contained in:
maxime-cool 2024-01-24 18:38:13 +01:00
parent 6d83e0c1f0
commit 27dc4fd92d

View file

@ -37,9 +37,13 @@ collections:
- label: 'Paramètres' - label: 'Paramètres'
name: settings name: settings
files: files:
- label: 'Theme Settings' - 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: fields:
- { 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:
- { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] }