From d60aa5490318c27aacea759db781cf380ebf7398 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 18 Nov 2021 15:12:41 +0530 Subject: [PATCH] fix: condition if testimonials are less than multiple of three --- .../multiple_testimonials/multiple_testimonials.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/school/community/web_template/multiple_testimonials/multiple_testimonials.html b/school/community/web_template/multiple_testimonials/multiple_testimonials.html index e77a327b..9d9ed1bf 100644 --- a/school/community/web_template/multiple_testimonials/multiple_testimonials.html +++ b/school/community/web_template/multiple_testimonials/multiple_testimonials.html @@ -22,7 +22,7 @@ "{{ review.review }}" - {% if loop.index % 3 == 0 %} {% endif %} + {% if loop.index % 3 == 0 or loop.index == testimonials_table | length %} {% endif %} {% endfor %}