feat: head component with excellent SEO

This commit is contained in:
radishzzz 2025-01-16 07:48:40 +00:00
parent 5d3a3b0321
commit 7659bbd1e2
8 changed files with 221 additions and 75 deletions

18
src/types/index.d.ts vendored
View file

@ -40,19 +40,22 @@ export interface ThemeConfig {
}
seo?: {
twitter?: string
meta?: {
twitterID?: string
facebookID?: string
facebookLink?: string
verification?: {
google?: string
bing?: string
yandex?: string
baidu?: string
}
link?: string
googleAnalyticsID?: string
umamiAnalyticsID?: string
follow?: {
feedID?: string
userID?: string
}
siteScreenshot: string
}
footer: {
@ -69,6 +72,15 @@ export interface ThemeConfig {
url: string
}
}
preload: {
cdn: string
commentURL?: string
imageHostURL?: string
customGoogleAnalyticsURL?: string
customUmamiAnalyticsURL?: string
customUmamiAnalyticsJS?: string
}
}
export default ThemeConfig