From 8d67942dcf15e3ab06d4cae2662e0b91128efe58 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Sat, 22 Jun 2024 20:06:49 +0200 Subject: [PATCH] header subtitle color --- layout/theme.liquid | 2 +- snippets/shx-header-subtitle.liquid | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %}