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

3 lines
142 B
Cheetah

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