dynamic header
parent
79c6247bd9
commit
a71d6fecd1
|
@ -59,7 +59,7 @@
|
|||
endcapture
|
||||
%}
|
||||
|
||||
console.log("1", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
||||
console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
@ -185,14 +185,14 @@
|
|||
assign shx_header_logo = settings.logo
|
||||
|
||||
if shx_current_page contains "texte"
|
||||
assign shx_header_logo = settings.shx_logo_texte
|
||||
assign shx_header_logo = settings.shx_logo_texte | asset_url
|
||||
elsif shx_current_page contains "figuren"
|
||||
assign shx_header_logo = settings.shx_logo_figuren
|
||||
assign shx_header_logo = settings.shx_logo_figuren | asset_url
|
||||
endif
|
||||
%}
|
||||
|
||||
<h1>{{ settings.logo | asset_url }}</h1>
|
||||
<h1>{{ settings.shx_logo_texte }}</h1>
|
||||
<h1>{{ settings.shx_logo_texte | asset_url }}</h1>
|
||||
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo motion-reduce',
|
||||
|
|
Loading…
Reference in New Issue