fix dark mode flash on non-homepage

This commit is contained in:
keyan 2021-11-16 13:17:13 -06:00
parent 803f414c6e
commit d0687e626b

View File

@ -8,7 +8,7 @@ class MyDocument extends Document {
<link rel='preload' href='/Lightningvolt-xoqm.ttf' as='font' type='font/ttf' crossOrigin='' /> <link rel='preload' href='/Lightningvolt-xoqm.ttf' as='font' type='font/ttf' crossOrigin='' />
</Head> </Head>
<body> <body>
<script src='darkmode.js' type='module' /> <script src='/darkmode.js' type='module' />
<Main /> <Main />
<NextScript /> <NextScript />
</body> </body>