From 616d0ed0a11c0f51e0147f013fd340cedb8d952b Mon Sep 17 00:00:00 2001 From: Karim <46734059+h-karim@users.noreply.github.com> Date: Fri, 21 Mar 2025 13:57:14 -0400 Subject: [PATCH 1/2] Update docs/plugins/CustomOgImages.md Co-authored-by: Jacky Zhao --- docs/plugins/CustomOgImages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/CustomOgImages.md b/docs/plugins/CustomOgImages.md index 1a20cd993..4b5bf0391 100644 --- a/docs/plugins/CustomOgImages.md +++ b/docs/plugins/CustomOgImages.md @@ -62,7 +62,7 @@ The following properties can be used to customize your link previews: | `socialDescription` | `description` | Description to be used for preview. | | `socialImage` | `image`, `cover` | Link to preview image. | -The `socialImage` property should contain a link to an image either relative to `quartz/static`, or a full URL. If you have a folder for all your images in `quartz/static/my-images`, an example for `socialImage` could be `"my-images/cover.png"` or `"https:///quartz/static/my-images/conver.png"`. +The `socialImage` property should contain a link to an image either relative to `quartz/static`, or a full URL. If you have a folder for all your images in `quartz/static/my-images`, an example for `socialImage` could be `"my-images/cover.png"`. Alternatively, you can use a fully qualified URL like `"https://example.com/cover.png"`. > [!info] Info > From aa593a51295b623e931c545b564f462e9ff27af0 Mon Sep 17 00:00:00 2001 From: Karim <46734059+h-karim@users.noreply.github.com> Date: Fri, 21 Mar 2025 13:57:25 -0400 Subject: [PATCH 2/2] Update quartz/plugins/emitters/ogImage.tsx Co-authored-by: Jacky Zhao --- quartz/plugins/emitters/ogImage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/plugins/emitters/ogImage.tsx b/quartz/plugins/emitters/ogImage.tsx index 64f167a4a..5f265620f 100644 --- a/quartz/plugins/emitters/ogImage.tsx +++ b/quartz/plugins/emitters/ogImage.tsx @@ -155,7 +155,7 @@ export const CustomOgImages: QuartzEmitterPlugin> = if (userDefinedOgImagePath) { userDefinedOgImagePath = isAbsoluteFilePath(userDefinedOgImagePath) ? userDefinedOgImagePath - : `https://${baseUrl}/static/${socialImage}` + : `https://${baseUrl}/static/${userDefinedOgImagePath}` } const generatedOgImagePath = isRealFile