get environment

main
alexanderroese 2024-06-24 21:47:12 +02:00
parent 796e0e1c12
commit 383cf3b391
1 changed files with 15 additions and 1 deletions

View File

@ -6,4 +6,18 @@
{% assign environment = 'production' %}
{% endif %}
"{{ environment }}"
"{{ environment }}"
{% comment %}
use this to get the environment on other files
{% liquid
capture shx_get_environment
render "shx-get-environment"
endcapture
%}
{{ shx_get_environment }}
{% endcomment %}