dynamic header
parent
4b3574a6d8
commit
d384713d5f
|
@ -59,7 +59,7 @@
|
|||
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>
|
||||
|
||||
|
|
|
@ -177,6 +177,7 @@
|
|||
{% capture sizes %}(max-width: {{ settings.logo_width | times: 2 }}px) 50vw, {{ settings.logo_width }}px{% endcapture %}
|
||||
{% capture widths %}{{ settings.logo_width }}, {{ settings.logo_width | times: 1.5 | round }}, {{ settings.logo_width | times: 2 }}{% endcapture %}
|
||||
|
||||
{% comment %}
|
||||
{% liquid
|
||||
capture shx_current_page
|
||||
render "shx-get-current-page"
|
||||
|
@ -190,11 +191,7 @@
|
|||
assign shx_header_logo = settings.shx_logo_figuren | image_url
|
||||
endif
|
||||
%}
|
||||
|
||||
<h1>curr {{ shx_current_page }} {{ shx_current_page contains "texte" }}</h1>
|
||||
<h1>{{ shx_header_logo }}</h1>
|
||||
<h1>{{ settings.logo }}</h1>
|
||||
<h1>{{ settings.shx_logo_texte }}</h1>
|
||||
{% endcomment %}
|
||||
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo motion-reduce',
|
||||
|
|
Loading…
Reference in New Issue