New answers tagged

2 votes
Accepted

Problem with loop.last

Make sure to add .all() to the end of your craft.entries element query, which will execute it and return the results as a simple array: {% set entry = craft.entries.relatedTo(asset).orderBy('title')....
Mats Mikkel Rummelhoff's user avatar

Top 50 recent answers are included