From 7f42dae9e2e8753269a84a83b0a8cf66d31d60be Mon Sep 17 00:00:00 2001 From: Brandon Krigbaum Date: Sun, 21 Aug 2022 15:12:31 -0500 Subject: [PATCH] Add isLogo support to section-feed-content block --- .../components/nodes/section-feed-content.marko | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko b/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko index c2e5f95bd..3da2152b3 100644 --- a/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko +++ b/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko @@ -81,10 +81,10 @@ $ const blockName = "section-feed-content-node"; - $ const src = buildImgixUrl(primaryImage.src, { w: 250, h: 167, fit: "crop" }); + $ const src = buildImgixUrl(primaryImage.src, { w: 250, h: 167, fit: "crop" }, null, get(primaryImage, 'isLogo')); $ const srcset = [src, `${buildImgixUrl(src, { dpr: 2 })} 2x`]; - $ const srcMobile = buildImgixUrl(primaryImage.src, { w: 112, h: 112, fit: "crop" }); + $ const srcMobile = buildImgixUrl(primaryImage.src, { w: 112, h: 112, fit: "crop" }, null, get(primaryImage, 'isLogo')); $ const srcsetMobile = [srcMobile, `${buildImgixUrl(srcMobile, { dpr: 2 })} 2x`];