From bae9a3cf77834892c41b6980a824e0bf732fe2bb Mon Sep 17 00:00:00 2001 From: fredxgit Date: Tue, 5 Aug 2025 05:03:09 +0200 Subject: [PATCH] newww --- docs/plugins/CustomOgImages.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/plugins/CustomOgImages.md b/docs/plugins/CustomOgImages.md index dfb2e8a13..04a459915 100644 --- a/docs/plugins/CustomOgImages.md +++ b/docs/plugins/CustomOgImages.md @@ -236,6 +236,7 @@ export const customImage: SocialImageOptions["imageStructure"] = ( The following example includes a customized social image with a custom background and formatted date: +{% raw %} ```typescript title="custom-og.tsx" export const og: SocialImageOptions["Component"] = ( cfg: GlobalConfiguration, @@ -266,7 +267,7 @@ export const og: SocialImageOptions["Component"] = ( alignItems: "flex-start", height: "100%", width: "100%", - backgroundImage: `url("https://\${cfg.baseUrl}/static/og-image.jpeg")`, + backgroundImage: `url("https://${cfg.baseUrl}/static/og-image.jpeg")`, backgroundSize: "100% 100%", }} > @@ -295,7 +296,7 @@ export const og: SocialImageOptions["Component"] = ( }} >