added object params
All checks were successful
continuous-integration/drone/push Build is passing

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'
name: settings
files:
- label: 'Theme Settings'
- label: 'Configuration du thème'
name: theme settings
file: 'hugo_config/_default/theme_settings.toml'
extension: toml
fields:
- 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"] }