This commit is contained in:
2026-01-18 12:32:55 +08:00
parent 828c9390ae
commit 477f6829d9
9 changed files with 60 additions and 124 deletions

View File

@@ -63,6 +63,11 @@ export interface Footer {
};
}
export interface TraceConfig {
enable?: boolean;
script?: string;
}
export interface CommentConfig {
twikoo?: {
enable?: boolean;
@@ -70,14 +75,6 @@ export interface CommentConfig {
};
}
export interface UmamiConfig {
enable?: boolean;
scriptUrl?: string;
apiKey?: string;
websiteId?: string;
apiEndpoint?: string;
}
export interface AdConfig {
enable?: boolean;
ads?: [{ body?: string; link?: string }];
@@ -94,7 +91,7 @@ export interface SiteConfig {
lines?: LineInfo[];
theme?: Theme;
footer?: Footer;
traceConfig?: TraceConfig;
comment?: CommentConfig;
umami?: UmamiConfig;
ad?: AdConfig;
}