Answer by Jamie Jenkins for Templating repeatable blocks in a matrix field
It might be worth checking the types of the matrix block like:{% for block in entry.benefits.all() %} {% switch block.type %} {% case "intro" %} {# <=== ASSUMING BLOCK TYPE HANDLE #} {% for image in...
View ArticleTemplating repeatable blocks in a matrix field
I have a matrix field that has two different block types. The matrix field is on an entry that lists a number of benefits for a given product on a corporate website. The two different blocks are...
View Article
More Pages to Explore .....