fix: condition if testimonials are less than multiple of three

This commit is contained in:
Jannat Patel
2021-11-18 15:12:41 +05:30
parent 2627cee938
commit d60aa54903

View File

@@ -22,7 +22,7 @@
"{{ review.review }}"
</div>
</div>
{% if loop.index % 3 == 0 %} </div> </div> {% endif %}
{% if loop.index % 3 == 0 or loop.index == testimonials_table | length %} </div> </div> {% endif %}
{% endfor %}
</div>