From 494524b21433c5e13edb8136a2c4b1506e63e11f Mon Sep 17 00:00:00 2001 From: Anna Makarudze Date: Wed, 22 May 2024 23:50:25 +0200 Subject: [PATCH] Fix events list on homepage --- templates/core/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/core/index.html b/templates/core/index.html index 0db2ef1e..fecf0e48 100644 --- a/templates/core/index.html +++ b/templates/core/index.html @@ -117,8 +117,11 @@

{% for event in future_events %} - {% include 'includes/_event.html' with event=event %} - {% if forloop.counter|divisibleby:3 %}
{% endif %} + {% if forloop.first %}
{% endif %} +
+ {% include 'includes/_event.html' with event=event %}
+ {% if forloop.counter|divisibleby:4 %}
{% endif %} + {% if forloop.last %}
{% endif %} {% endfor %}