mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
chore: optimize head component
- Add dynamic theme-color meta tag based on current theme mode - Preload custom font files for improved performance - Update ClientRouter configuration for view transitions - Refactor theme toggle script comments for clarity
This commit is contained in:
parent
5b66fdb564
commit
6bcd51765d
4 changed files with 284 additions and 296 deletions
|
@ -90,11 +90,11 @@ export const themeConfig: ThemeConfig = {
|
|||
|
||||
// PRELOAD SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
||||
preload: {
|
||||
commentURL: '', // https://comment.example.com/
|
||||
imageHostURL: '', // https://image.example.com/
|
||||
commentURL: '', // https://comment.example.com
|
||||
imageHostURL: 'https://image.radishzz.cc', // https://image.example.com
|
||||
// If you proxy analytics requests to the custom domain, you can fill in below
|
||||
customGoogleAnalyticsURL: '', // https://custom.example.com/
|
||||
customUmamiAnalyticsURL: '', // https://custom.example.com/
|
||||
customGoogleAnalyticsURL: '', // https://custom.example.com
|
||||
customUmamiAnalyticsURL: '', // https://custom.example.com
|
||||
customUmamiAnalyticsJS: '', // https://custom.example.com/custom.js
|
||||
},
|
||||
// PRELOAD SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue