dynamic header logo
parent
19fa09d2a0
commit
be5a58314c
|
@ -59,7 +59,7 @@
|
||||||
endcapture
|
endcapture
|
||||||
%}
|
%}
|
||||||
|
|
||||||
console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
console.log("1", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,15 @@
|
||||||
endif
|
endif
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{{ {% if shx_current_page contains "texte" %} settings.logo {% else %} settings.shx_logo2 {% endif %} | image_url: width: 600 | image_tag:
|
{% assign logo_image = settings.logo %}
|
||||||
|
|
||||||
|
{% if shx_current_page contains "texte" %}
|
||||||
|
{% assign logo_image = settings.logo %}
|
||||||
|
{% else %}
|
||||||
|
{% assign logo_image = settings.shx_logo2 %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ logo_image | image_url: width: 600 | image_tag:
|
||||||
class: 'header__heading-logo motion-reduce',
|
class: 'header__heading-logo motion-reduce',
|
||||||
widths: widths,
|
widths: widths,
|
||||||
height: logo_height,
|
height: logo_height,
|
||||||
|
|
Loading…
Reference in New Issue