Skip to content

Commit

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

0 comments on commit 6198517

Please sign in to comment.