blog-static/layouts/shortcodes/bergamot_render_preset.html
Danila Fedorin 18eb1da5ba Allow render rules to be customized using render presets
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-09-15 13:49:57 -07:00

4 lines
92 B
HTML

<script>
window.Bergamot.renderPresets['{{ .Get "name" }}'] = '{{ .Inner }}';
</script>