blog-static/layouts/shortcodes/bergamot_preset.html

9 lines
258 B
HTML
Raw Normal View History

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