dynamic header
parent
8a55e26ee8
commit
5dc07bde31
|
@ -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 }})
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
@ -176,6 +176,9 @@
|
|||
{%- assign logo_height = settings.logo_width | divided_by: settings.logo.aspect_ratio -%}
|
||||
{% 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 %}
|
||||
|
||||
<h1>here</h1>
|
||||
|
||||
{{ settings.logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo motion-reduce',
|
||||
widths: widths,
|
||||
|
|
Loading…
Reference in New Issue