Closed garygreen closed 9 years ago
I have a json array of images which resides in project.images -- trying to loop through and output all the images:
project.images
<div class="images"> {% for image in project.images %} {% image 300xAUTO {{ image }} %} {% endfor %} </div>
Results in the following error:
However doing the below works:
<div class="images"> {% image 300xAUTO {{ project.images | first }} %} </div>
It seems the loop is having a weird effect?
Not interested in Jekyll anymore. Closing
I have a json array of images which resides in
project.images
-- trying to loop through and output all the images:Results in the following error:
However doing the below works:
It seems the loop is having a weird effect?