mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
feat: head component with excellent SEO
This commit is contained in:
parent
5d3a3b0321
commit
7659bbd1e2
8 changed files with 221 additions and 75 deletions
18
src/types/index.d.ts
vendored
18
src/types/index.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue