chore: early return if no img
This commit is contained in:
parent
b1c54a5b79
commit
1bec07756c
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ module.exports = function (eleventyConfig) {
|
|||
outputDir: './_site/assets/img/cache/',
|
||||
})
|
||||
|
||||
console.log(src)
|
||||
if (!src) return
|
||||
|
||||
let imageAttributes = {
|
||||
class: css,
|
||||
|
|
Reference in a new issue