7 lines
270 B
HTML
7 lines
270 B
HTML
<div id="{{ .Get "id" }}"></div>
|
|
<script>
|
|
window.addEventListener('load', function() {
|
|
window.Bergamot.run(null, '{{ .Get "id" }}', '{{ .Get "prompt" }}', '{{ .Inner }}', '{{ default "default" (.Get "rendering") }}', '{{ .Get "query" }}');
|
|
});
|
|
</script>
|