Move bergamot widget into blog theme
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
6
layouts/partials/bergamotrenderpreset.html
Normal file
6
layouts/partials/bergamotrenderpreset.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
window.addEventListener('load', function() {
|
||||
window.Bergamot.renderPresets['{{ .name }}'] =
|
||||
{{ readFile (printf "static/bergamot/rendering/%s" .file) }};
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user