dynamic header
parent
f77a44bf0e
commit
22b3a54234
|
@ -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>
|
||||
|
||||
|
|
|
@ -225,13 +225,11 @@
|
|||
assign shx_header_logo = settings.logo
|
||||
|
||||
if shx_current_page contains "texte"
|
||||
shx_header_logo = settings.shx_logo_texte
|
||||
assign shx_header_logo = settings.shx_logo_texte
|
||||
elsif shx_current_page contains "figuren"
|
||||
shx_header_logo = settings.shx_logo_figuren
|
||||
assign shx_header_logo = settings.shx_logo_figuren
|
||||
endif
|
||||
%}
|
||||
|
||||
<h1>{{ shx_current_page }}</h1>
|
||||
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo',
|
||||
|
|
Loading…
Reference in New Issue