mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
fix: netlify build failed
This commit is contained in:
parent
380a650721
commit
1040aff64c
2 changed files with 8 additions and 5 deletions
|
@ -75,7 +75,10 @@ const { commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '', custo
|
|||
{baidu && <meta name="baidu-site-verification" content={baidu} />}
|
||||
|
||||
<!-- Theme Toggle -->
|
||||
<script is:inline define:vars={{ defaultMode: themeConfig.color.mode, lightMode, darkMode }}>
|
||||
<script
|
||||
is:inline
|
||||
define:vars={{ defaultMode: themeConfig.color.mode, lightMode, darkMode }}
|
||||
>
|
||||
// Initialize theme
|
||||
function initTheme() {
|
||||
const theme = (() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue