Move bergamot widget into blog theme

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2024-09-15 15:28:31 -07:00
parent acaa00754b
commit dee7579b29
6 changed files with 181 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
<script>
window.addEventListener('load', function() {
window.Bergamot.renderPresets['{{ .name }}'] =
{{ readFile (printf "static/bergamot/rendering/%s" .file) }};
});
</script>