mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
refactor: update language configuration
This commit is contained in:
parent
ff59dc1a7c
commit
22dc899a95
25 changed files with 53 additions and 188 deletions
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
import themeConfig from '@/config'
|
||||
import { allLocales, defaultLocale } from '@/i18n/config'
|
||||
import { allLocales, defaultLocale, themeConfig } from '@/config'
|
||||
import { ClientRouter } from 'astro:transitions'
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -80,7 +80,7 @@ const footerMarginClass = isPost && themeConfig.comment?.waline?.serverURL
|
|||
<ThemeToggle />
|
||||
</div>
|
||||
|
||||
<!--=============================================== Theme Toggle ===============================================-->
|
||||
<!-- Theme toggle >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
|
||||
<script define:vars={{ lightMode, darkMode }}>
|
||||
// Update theme
|
||||
function updateTheme() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue