Skip to content

Commit d6b203b

Browse files
committed
refactor: move css & js location of search module
1 parent b2b924b commit d6b203b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/templates/base.shtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
fetch('https://en.liujiacai.net/pv/write?' + new URLSearchParams(payload),
2626
{mode: 'no-cors'}).catch(console.log);
2727
</script>
28-
<super>
2928
<link rel="stylesheet" href="$site.asset('search.css').link()">
29+
<script type="module" src="$site.asset('search.js').link()" defer></script>
30+
<super>
3031
</head>
3132
<body id="body">
3233
<div class="header">
@@ -58,7 +59,6 @@
5859
</div>
5960
</div>
6061
</div>
61-
<script type="module" src="$site.asset('search.js').link()" defer></script>
6262
<footer>
6363
<div>
6464
<div>

0 commit comments

Comments
 (0)