summaryrefslogtreecommitdiffstats
path: root/src/ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-19 13:56:34 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-19 14:22:28 +0100
commita26b775b7bbf1abd3e99c8bf9ce4c7522d3a0adc (patch)
tree7f041845fa64d00f20f949d1cba14fec3eca3435 /src/ts
parent813084fc23113ae2f594bf6ef1cf53bd003c9479 (diff)
chore: add structured data using schema.org and JSON-LD
I also added the featured image on single article.
Diffstat (limited to 'src/ts')
-rw-r--r--src/ts/types/articles.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ts/types/articles.ts b/src/ts/types/articles.ts
index 01a4c38..1fb3ec5 100644
--- a/src/ts/types/articles.ts
+++ b/src/ts/types/articles.ts
@@ -40,6 +40,7 @@ export type Article = {
content: string;
databaseId: number;
dates: Dates;
+ featuredImage: Cover;
id: string;
intro: string;
seo: SEO;
@@ -57,6 +58,7 @@ export type RawArticle = Pick<
comments: CommentsNode;
contentParts: ContentParts;
date: string;
+ featuredImage: RawCover;
modified: string;
};