diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 6 | ||||
-rw-r--r-- | src/content/dependencies/image.js | 2 | ||||
-rw-r--r-- | src/content/dependencies/linkExternalAsIcon.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 3bb8b00a..5322950f 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -596,7 +596,7 @@ export default { html.tag('link', { rel: 'stylesheet', - href: to('static.path', 'site.css'), + href: to('staticCSS.path', 'site.css'), }), html.tag('style', [ @@ -606,7 +606,7 @@ export default { ]), html.tag('script', { - src: to('static.path', 'lazy-loading.js'), + src: to('staticJS.path', 'lazy-loading.js'), }), ]), @@ -636,7 +636,7 @@ export default { html.tag('script', { type: 'module', - src: to('static.path', 'client.js'), + src: to('staticJS.path', 'client.js'), }), ]), ]) diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 617065fc..22fa2655 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -170,7 +170,7 @@ export default { if (willReveal) { reveal = [ html.tag('img', {class: 'reveal-symbol'}, - {src: to('static.path', 'warning.svg')}), + {src: to('staticMisc.icon', 'warning.svg')}), html.tag('br'), diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js index 7f5ea432..e2ce4b3c 100644 --- a/src/content/dependencies/linkExternalAsIcon.js +++ b/src/content/dependencies/linkExternalAsIcon.js @@ -37,7 +37,7 @@ export default { html.tag('title', platformText), html.tag('use', { - href: to('static.icon', iconId), + href: to('staticMisc.icon', iconId), }), ]), |