dynamic header

main
alexanderroese 2024-06-21 15:34:30 +02:00
parent 2eb18a7ac7
commit a2a25a7b84
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -185,9 +185,9 @@
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_img_url
elsif shx_current_page contains "figuren"
assign shx_header_logo = settings.shx_logo_figuren
assign shx_header_logo = settings.shx_logo_figuren | asset_img_url
endif
%}