get environment

main
alexanderroese 2024-06-24 21:25:46 +02:00
parent 2b33775412
commit c2612d3de7
2 changed files with 4 additions and 3 deletions

View File

@ -54,12 +54,12 @@
<script>
{% liquid
capture shx_current_page
render "shx-get-current-page"
capture shx_get_environment
render "shx-get-environment"
endcapture
%}
console.log("1", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
console.log("2", "{{ shx_get_environment }}")
</script>

View File

@ -0,0 +1 @@
{{ page.url }}