Skip to content

Commit 20bc4a2

Browse files
Create document for website
1 parent 3237119 commit 20bc4a2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/_document.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import { Html, Head, Main, NextScript } from 'next/document'
22

33
export default function Document() {
44
return (
5-
<Html lang="en">
6-
<Head />
5+
<Html lang="en" data-theme="dark">
6+
<Head/>
77
<body>
88
<Main />
99
<NextScript />
1010
</body>
11+
<script src="/theme.js"></script>
1112
</Html>
1213
)
1314
}

0 commit comments

Comments
 (0)