Skip to content

Commit

Permalink
fix(og): add the missing SITE.website to loadGoogleFonts (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuannghia authored Sep 8, 2024
1 parent 4e0e219 commit 28f886b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/og-templates/site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[],
}
);
};

0 comments on commit 28f886b

Please sign in to comment.