Skip to content

Commit

Permalink
Merge pull request #998 from amakarudze/new-layout
Browse files Browse the repository at this point in the history
Fix events list on homepage
  • Loading branch information
amakarudze authored May 22, 2024
2 parents 988a5ba + 494524b commit cc2298f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ <h2>
<div class="row-container">
<div class="row">
{% for event in future_events %}
{% include 'includes/_event.html' with event=event %}
{% if forloop.counter|divisibleby:3 %}</div><div class="row">{% endif %}
{% if forloop.first %}<div class="row">{% endif %}
<div class="col-md-3">
{% include 'includes/_event.html' with event=event %}</div>
{% if forloop.counter|divisibleby:4 %}</div><div class="row">{% endif %}
{% if forloop.last %}</div>{% endif %}
{% endfor %}
</div>
</div>
Expand Down

0 comments on commit cc2298f

Please sign in to comment.