diff --git a/config/settings_schema.json b/config/settings_schema.json index 16741f7..b9d6ce4 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -59,6 +59,32 @@ } ] }, + { + "name": "shx-Logo-Texte", + "settings": [ + { + "type": "image_picker", + "id": "shx_logo_texte", + "label": "t:settings_schema.logo.settings.logo_image.label" + }, + { + "type": "range", + "id": "shx_logo_texte_width", + "min": 50, + "max": 300, + "step": 10, + "default": 100, + "unit": "px", + "label": "t:settings_schema.logo.settings.logo_width.label" + }, + { + "type": "image_picker", + "id": "shx_favicon_texte", + "label": "t:settings_schema.logo.settings.favicon.label", + "info": "t:settings_schema.logo.settings.favicon.info" + } + ] + }, { "name": "t:settings_schema.colors.name", "settings": [ diff --git a/sections/header.liquid b/sections/header.liquid index 13012ae..7015487 100644 --- a/sections/header.liquid +++ b/sections/header.liquid @@ -187,7 +187,7 @@ if shx_current_page contains "texte" assign shx_header_logo = settings.shx_logo2 | image_url elsif shx_current_page contains "figuren" - assign shx_header_logo = settings.shx_logo2 | image_url + assign shx_header_logo = settings.shx_logo_figuren | image_url endif %}