From ef25f903cac0e661f0f1d8d004953342f4fd09f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Sat, 1 Nov 2025 15:21:33 -0400 Subject: [PATCH] fixed wrong logics --- 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 48ca16972..dfb3da22e 100644 --- a/quartz/plugins/emitters/ogImage.tsx +++ b/quartz/plugins/emitters/ogImage.tsx @@ -125,7 +125,7 @@ export const CustomOgImages: QuartzEmitterPlugin> = content .filter( ([_tree, vfile]) => - vfile.data.frontmatter?.socialImage !== undefined && + vfile.data.frontmatter?.socialImage === undefined && vfile.data.filePath !== undefined, ) .map(([_tree, vfile]) => processOgImage(ctx, vfile.data, fonts, fullOptions)),