This commit is contained in:
22
src/types.ts
22
src/types.ts
@@ -169,6 +169,20 @@ export interface HomepageSections {
|
||||
};
|
||||
}
|
||||
|
||||
export interface OpenGraphConfig {
|
||||
image?: string;
|
||||
type?: "website" | "article";
|
||||
locale?: string;
|
||||
siteName?: string;
|
||||
}
|
||||
|
||||
export interface PageOpenGraph {
|
||||
title?: string;
|
||||
description?: string;
|
||||
image?: string;
|
||||
type?: "website" | "article";
|
||||
}
|
||||
|
||||
export interface SiteConfig {
|
||||
personal: PersonalInfo;
|
||||
homepage: HomepageSections;
|
||||
@@ -179,6 +193,14 @@ export interface SiteConfig {
|
||||
url: string;
|
||||
author: string;
|
||||
};
|
||||
openGraph: OpenGraphConfig;
|
||||
pageOpenGraph: {
|
||||
home: PageOpenGraph;
|
||||
posts: PageOpenGraph;
|
||||
projects: PageOpenGraph;
|
||||
talks: PageOpenGraph;
|
||||
resume: PageOpenGraph;
|
||||
};
|
||||
giteaDomains?: string[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user