Skip to content

Commit

Permalink
only show first 3 upcoming events
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-dev committed Sep 17, 2024
1 parent f1fc96d commit 32df36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</span>
</div>
<% unless upcoming_events.empty? %>
<% upcoming_events.each do |event| %>
<% upcoming_events.first(3).each do |event| %>
<div class="block">
<%= render '/partials/_events_tile.*', event: event %>
</div>
Expand Down

0 comments on commit 32df36d

Please sign in to comment.