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 a1da85204..0d0510006 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 @@ -89,28 +89,26 @@ $ const blockName = "section-feed-content-node"; - + - - $ const src = buildImgixUrl(primaryImage.src, imageOptions, null, get(primaryImage, 'isLogo')); - $ const srcset = [src, `${buildImgixUrl(src, { dpr: 2 })} 2x`]; + $ const src = buildImgixUrl(primaryImage.src, imageOptions, null, get(primaryImage, 'isLogo')); + $ const srcset = [src, `${buildImgixUrl(src, { dpr: 2 })} 2x`]; - $ const srcMobile = buildImgixUrl(primaryImage.src, mobileImageOptions, null, get(primaryImage, 'isLogo')); - $ const srcsetMobile = [srcMobile, `${buildImgixUrl(srcMobile, { dpr: 2 })} 2x`]; + $ const srcMobile = buildImgixUrl(primaryImage.src, mobileImageOptions, null, get(primaryImage, 'isLogo')); + $ const srcsetMobile = [srcMobile, `${buildImgixUrl(srcMobile, { dpr: 2 })} 2x`]; - - <@link href=get(content, "siteContext.path") attrs=linkAttrs /> - <@source srcset=srcset media="(min-width: 768px)" width=250 height=167 /> - <@image - src=srcMobile - srcset=srcsetMobile - class=[`${blockName}__image`] - alt=primaryImage.alt - lazyload=lazyload - attrs={ width: "112", height: "112" } - /> - - + + <@link href=get(content, "siteContext.path") attrs=linkAttrs /> + <@source srcset=srcset media="(min-width: 768px)" width=250 height=167 /> + <@image + src=srcMobile + srcset=srcsetMobile + class=[`${blockName}__image`] + alt=primaryImage.alt + lazyload=lazyload + attrs={ width: "112", height: "112" } + /> +