refactor: clean up SEO and theme configuration

- Remove unused SEO metadata fields like Facebook and site screenshot
- Rename global font configuration from 'font' to 'fontStyle'
- Update theme toggle to use documentElement instead of body for theme restoration
- Simplify HTML metadata and remove redundant meta tags
- Adjust index page to use div instead of time for date display
This commit is contained in:
radishzzz 2025-01-26 23:55:08 +00:00
parent d72ec58837
commit e14c62e1f6
9 changed files with 20 additions and 43 deletions

View file

@ -32,7 +32,7 @@ export interface ThemeConfig {
global: {
locale: typeof langPath[number]
moreLocale: typeof langPath[number][]
font: 'sans' | 'serif'
fontStyle: 'sans' | 'serif'
titleSpace: 1 | 2 | 3 | 4
}
@ -47,8 +47,6 @@ export interface ThemeConfig {
seo?: {
twitterID?: string
facebookID?: string
facebookLink?: string
verification?: {
google?: string
bing?: string
@ -61,7 +59,6 @@ export interface ThemeConfig {
feedID?: string
userID?: string
}
siteScreenshot: string
}
footer: {