Fixed opengraph again
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m4s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m4s
This commit is contained in:
12
src/types.ts
12
src/types.ts
@@ -169,8 +169,16 @@ export interface HomepageSections {
|
||||
};
|
||||
}
|
||||
|
||||
export interface OpenGraphImage {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
type: string;
|
||||
alt: string;
|
||||
}
|
||||
|
||||
export interface OpenGraphConfig {
|
||||
image?: string;
|
||||
image: OpenGraphImage;
|
||||
type?: "website" | "article";
|
||||
locale?: string;
|
||||
siteName?: string;
|
||||
@@ -179,7 +187,7 @@ export interface OpenGraphConfig {
|
||||
export interface PageOpenGraph {
|
||||
title?: string;
|
||||
description?: string;
|
||||
image?: string;
|
||||
image?: OpenGraphImage;
|
||||
type?: "website" | "article";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user