dynamic header
parent
7f0d30603a
commit
e41fd06691
|
@ -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>
|
||||
|
||||
|
|
|
@ -185,12 +185,14 @@
|
|||
assign shx_header_logo = settings.logo
|
||||
|
||||
if shx_current_page contains "texte"
|
||||
assign shx_header_logo = settings.shx_logo_texte | asset_url
|
||||
assign shx_header_logo = settings.shx_logo_texte
|
||||
elsif shx_current_page contains "figuren"
|
||||
assign shx_header_logo = settings.shx_logo_figuren | asset_url
|
||||
assign shx_header_logo = settings.shx_logo_figuren
|
||||
endif
|
||||
%}
|
||||
|
||||
<h1>{{ settings.shx_logo_texte }}</h1>
|
||||
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo motion-reduce',
|
||||
widths: widths,
|
||||
|
|
Loading…
Reference in New Issue