blog-static/layouts/shortcodes/bergamot_widget.html

5 lines
162 B
HTML

<div id="{{ .Get "id" }}"></div>
<script>
runBergamot('{{ .Get "id" }}', '{{ .Get "prompt" }}', '{{ .Inner }}', renderRules, '{{ .Get "query" }}');
</script>