diff --git a/layout/theme.liquid b/layout/theme.liquid index 5479833..8704c96 100644 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -59,7 +59,7 @@ endcapture %} - console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }}) + console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }}) diff --git a/snippets/shx-header-subtitle.liquid b/snippets/shx-header-subtitle.liquid index 8b9bb05..c1e0968 100644 --- a/snippets/shx-header-subtitle.liquid +++ b/snippets/shx-header-subtitle.liquid @@ -3,10 +3,10 @@ render "shx-get-current-page" endcapture - assign shx_subtitle_color = "#333" + assign shx_subtitle_color = #333 if shx_current_page contains "texte" - shx_subtitle_color = "#ff1212" + shx_subtitle_color = #ff1212 endif %}