diff --git a/app/modules/cms/templates/cms/platform/sections/_testimonials.html b/app/modules/cms/templates/cms/platform/sections/_testimonials.html index 3863c5ed..dfdb9c07 100644 --- a/app/modules/cms/templates/cms/platform/sections/_testimonials.html +++ b/app/modules/cms/templates/cms/platform/sections/_testimonials.html @@ -20,10 +20,11 @@ {% endif %} - {# Testimonial cards #} - {% if testimonials.items %} + {# Testimonial cards — use .get() to avoid dict.items() method collision with JSON dicts #} + {% set testimonial_items = testimonials.get('items', []) if testimonials is mapping else [] %} + {% if testimonial_items %}