Compare commits

..

2 commits

Author SHA1 Message Date
8ed89a14e1 test sans param
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-24 18:57:16 +01:00
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: # 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'
@ -42,8 +42,9 @@ collections:
file: 'hugo_config/_default/theme_settings.toml' file: 'hugo_config/_default/theme_settings.toml'
extension: toml extension: toml
fields: fields:
- label: 'Paramètres' - { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] }
name: params # - label: 'Paramètres'
widget: object # name: params
fields: # widget: object
- { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] } # fields: