dynamic header

main
alexanderroese 2024-06-21 15:35:45 +02:00
parent f99599f670
commit d8b2c409c5
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 | asset_url
assign shx_header_logo = settings.shx_logo_texte | image_url
elsif shx_current_page contains "figuren"
assign shx_header_logo = settings.shx_logo_figuren | asset_url
assign shx_header_logo = settings.shx_logo_figuren | image_url
endif
%}