Skip to content

Commit 9c00d5b

Browse files
committed
url-spec, web-routes, content: static subdirectories
1 parent dc318c6 commit 9c00d5b

File tree

13 files changed

+53
-23
lines changed

13 files changed

+53
-23
lines changed

src/content/dependencies/generatePageLayout.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export default {
596596

597597
html.tag('link', {
598598
rel: 'stylesheet',
599-
href: to('static.path', 'site.css'),
599+
href: to('staticCSS.path', 'site.css'),
600600
}),
601601

602602
html.tag('style', [
@@ -606,7 +606,7 @@ export default {
606606
]),
607607

608608
html.tag('script', {
609-
src: to('static.path', 'lazy-loading.js'),
609+
src: to('staticJS.path', 'lazy-loading.js'),
610610
}),
611611
]),
612612

@@ -636,7 +636,7 @@ export default {
636636

637637
html.tag('script', {
638638
type: 'module',
639-
src: to('static.path', 'client.js'),
639+
src: to('staticJS.path', 'client.js'),
640640
}),
641641
]),
642642
])

src/content/dependencies/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export default {
170170
if (willReveal) {
171171
reveal = [
172172
html.tag('img', {class: 'reveal-symbol'},
173-
{src: to('static.path', 'warning.svg')}),
173+
{src: to('staticMisc.icon', 'warning.svg')}),
174174

175175
html.tag('br'),
176176

src/content/dependencies/linkExternalAsIcon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
html.tag('title', platformText),
3838

3939
html.tag('use', {
40-
href: to('static.icon', iconId),
40+
href: to('staticMisc.icon', iconId),
4141
}),
4242
]),
4343

File renamed without changes.
File renamed without changes.

src/static/client.js renamed to src/static/js/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// ephemeral nature.
77

88
import {accumulateSum, empty, filterMultipleArrays, stitchArrays}
9-
from '../util/sugar.js';
9+
from '../shared-util/sugar.js';
1010
import {fetchWithProgress} from './xhr-util.js';
1111

1212
const clientInfo = window.hsmusicClientInfo = Object.create(null);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)