blog-static/layouts/shortcodes/bergamot_preset.html

8 lines
191 B
HTML

<script>
window.Bergamot.presets['{{ .Get "name" }}'] = {
rules: '{{ .Inner }}',
inputPrompt: '{{ .Get "prompt" }}',
query: '{{ .Get "query" }}',
};
</script>