cadoles-arcad/template/blocks/js_config.html.tmpl
2022-05-11 21:38:20 +02:00

3 lines
142 B
Cheetah

{{define "js_config"}}
<script type="text/javascript">(function() { window.__CONFIG__ = JSON.parse({{toJSON .JSConfig}}) }())</script>
{{end}}