dynamic header

main
alexanderroese 2024-06-21 15:17:39 +02:00
parent 93037d0ff9
commit 7f0d30603a
2 changed files with 3 additions and 3 deletions

View File

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

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 | asset_img_url
assign shx_header_logo = settings.shx_logo_texte | asset_url
elsif shx_current_page contains "figuren"
assign shx_header_logo = settings.shx_logo_figuren | asset_img_url
assign shx_header_logo = settings.shx_logo_figuren | asset_url
endif
%}