cadoles-arcad/template/blocks/js_config.html.tmpl

3 lines
142 B
Cheetah
Raw Normal View History

2022-05-11 21:38:20 +02:00
{{define "js_config"}}
<script type="text/javascript">(function() { window.__CONFIG__ = JSON.parse({{toJSON .JSConfig}}) }())</script>
{{end}}