diff --git a/themes/cookbook/layouts/partials/printscript.html b/themes/cookbook/layouts/partials/printscript.html index ae4be23..e87bf65 100644 --- a/themes/cookbook/layouts/partials/printscript.html +++ b/themes/cookbook/layouts/partials/printscript.html @@ -4,7 +4,7 @@ window.addEventListener('load', function () { const zutatenNode = document.evaluate('//*[@id="zutaten"]', document).iterateNext() - let nodeBlocks = [] + let nodeBlocks = [[]] let nextNode = zutatenNode.nextElementSibling while (nextNode && nextNode.tagName != "H2") {