We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88fdcba commit 87aca32Copy full SHA for 87aca32
assets/images.11ty.js
@@ -91,16 +91,16 @@ module.exports = class {
91
const newPath = path.join(dir, base + size.rename.suffix + ext)
92
const newPathOutput = path.join(outputPath, newPath)
93
if (imgsRendered.includes(newPath)) {
94
- // console.log(`FOUND RESIZED IMAGE FOR ${newPath}`);
95
- return;
+ // console.log(`FOUND RESIZED IMAGE FOR ${newPath}`)
+ return
96
}
97
- // console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`);
+ // console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`)
98
const resized = image.resize({
99
width: size.width,
100
withoutEnlargement: true,
101
kernel: "lanczos2",
102
})
103
- resized.toFile(newPathOutput);
+ resized.toFile(newPathOutput)
104
105
106
processedImages.push(img)
0 commit comments