danurbanowicz / eleventy-netlify-boilerplate

A template for building a blog with the Eleventy static site generator and Decap CMS
https://eleventy-netlify-boilerplate.netlify.app/
MIT License
528 stars 183 forks source link

error in building after changing the image at homepage (maybe template syntax error) #80

Closed pragyanone closed 8 months ago

pragyanone commented 8 months ago

Describe the bug After I change the homepage image, the site is not longer building

To Reproduce Steps to reproduce the behavior:

  1. change homepage image by uploading new image from the cms.
  2. website no longer builds

Expected behavior website should build and deploy with new uploaded image.

Screenshots image

Desktop (please complete the following information):

danurbanowicz commented 8 months ago

Hi @pragyanone, This boilerplate project doesn't include Eleventy Image out of the box and I can't see your code, but it looks like the image path in your template file is incorrect so Eleventy Image is unable to find it.

Check that the file path in your image shortcode matches the uploaded image file path and you should be good to go.

I'm closing this issue as it's outside of the project scope but feel free to re-open if you need to.