Fix in no layout

This commit is contained in:
Jade Ellis 2024-07-16 20:30:17 +01:00
parent 4dcdcf8ae8
commit 7b3b00cd66
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -284,6 +284,13 @@ function vite_images_rehype(opts) {
}
});
if (!is_script) {
tree.children.push({
type: 'raw',
value: `<script>\n${scripts}</script>`,
})
}
};
}
/**