mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
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:
parent
d72ec58837
commit
e14c62e1f6
9 changed files with 20 additions and 43 deletions
5
src/types/index.d.ts
vendored
5
src/types/index.d.ts
vendored
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue