From 1bec07756c2570a29481c1ae530e8142ec01c15e Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 21 Oct 2023 13:28:06 -0700 Subject: [PATCH] chore: early return if no img --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index ef8c229c..e77cf4e4 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -147,7 +147,7 @@ module.exports = function (eleventyConfig) { outputDir: './_site/assets/img/cache/', }) - console.log(src) + if (!src) return let imageAttributes = { class: css,