mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
refactor: theme config
This commit is contained in:
parent
8f8cda2717
commit
696fcfac07
15 changed files with 224 additions and 293 deletions
15
src/types/index.d.ts
vendored
15
src/types/index.d.ts
vendored
|
@ -62,22 +62,15 @@ export interface ThemeConfig {
|
|||
}
|
||||
|
||||
footer: {
|
||||
linkA: {
|
||||
links: {
|
||||
name: string
|
||||
url: string
|
||||
}
|
||||
linkB: {
|
||||
name: string
|
||||
url: string
|
||||
}
|
||||
linkC: {
|
||||
name: string
|
||||
url: string
|
||||
}
|
||||
startYear: string
|
||||
}[]
|
||||
startYear: number
|
||||
}
|
||||
|
||||
preload: {
|
||||
linkPrefetch: 'hover' | 'tap' | 'viewport' | 'load'
|
||||
commentURL?: string
|
||||
imageHostURL?: string
|
||||
customGoogleAnalyticsJS?: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue