From 28f886b4d6908c8f70a97878466abe0056a5b40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xu=C3=A2n=20Ngh=C4=A9a?= Date: Sun, 8 Sep 2024 14:48:09 +0700 Subject: [PATCH] fix(og): add the missing SITE.website to loadGoogleFonts (#360) --- src/utils/og-templates/site.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/og-templates/site.tsx b/src/utils/og-templates/site.tsx index 190955c..227f46d 100644 --- a/src/utils/og-templates/site.tsx +++ b/src/utils/og-templates/site.tsx @@ -89,7 +89,9 @@ export default async () => { width: 1200, height: 630, embedFont: true, - fonts: (await loadGoogleFonts(SITE.title + SITE.desc)) as FontOptions[], + fonts: (await loadGoogleFonts( + SITE.title + SITE.desc + SITE.website + )) as FontOptions[], } ); };