Compare commits

...

2 commits

Author SHA1 Message Date
maxime-cool 8ed89a14e1 test sans param
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-24 18:57:16 +01:00
maxime-cool f55322d3f4 test sans params 2024-01-24 18:56:43 +01:00
2 changed files with 7 additions and 8 deletions

View file

@ -1,2 +0,0 @@
[params]
background_color_class = "bg-red"

View file

@ -34,7 +34,7 @@ collections:
# media_library:
# config:
# multiple: true
- label: 'Paramètres'
- label: 'Configuration'
name: settings
files:
- label: 'Configuration du thème'
@ -42,8 +42,9 @@ collections:
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"] }
- { 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: