diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 5322950f..5d2a48cb 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -606,8 +606,15 @@ export default { ]), html.tag('script', { + blocking: 'render', src: to('staticJS.path', 'lazy-loading.js'), }), + + html.tag('script', { + blocking: 'render', + type: 'module', + src: to('staticJS.path', 'client.js'), + }), ]), html.tag('body', @@ -633,11 +640,6 @@ export default { // infoCardHTML, imageOverlayHTML, - - html.tag('script', { - type: 'module', - src: to('staticJS.path', 'client.js'), - }), ]), ]) ]).toString(); |