From 76e361eaeb66760b858dcbfcc2f58d9949dad4bf Mon Sep 17 00:00:00 2001 From: maxime-cool Date: Wed, 24 Jan 2024 18:30:54 +0100 Subject: [PATCH] try 2nd hugo config file --- hugo_config/_default/theme_settings.toml | 4 +++- static/admin/config.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hugo_config/_default/theme_settings.toml b/hugo_config/_default/theme_settings.toml index 30d8694..a9a5bfc 100644 --- a/hugo_config/_default/theme_settings.toml +++ b/hugo_config/_default/theme_settings.toml @@ -1 +1,3 @@ -bg-color = "rouge" +[params] + background_color_class = "bg-purple" + bg-color = "rouge" diff --git a/static/admin/config.yml b/static/admin/config.yml index ac60a25..94acbfe 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -42,4 +42,4 @@ collections: file: 'hugo_config/_default/theme_settings.toml' extension: toml fields: - - { label: Couleur du thème, name: bg-color, widget: 'select', options: ["rouge", "bleu", "vert"] } \ No newline at end of file + - { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] } \ No newline at end of file