Skip to content
Snippets Groups Projects
Commit 8fb56025 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

limit events output (to 3)

parent bf6cbc8d
No related branches found
No related tags found
2 merge requests!203WIP: Test MR,!177HIFIS unified step 1
......@@ -67,7 +67,11 @@
{% assign has_upcoming_events = true %}
{% endif %}
{% include frontpage/event-card.html
title = event.excerpt %}
title = event.excerpt %}
{% assign events_counter = events_counter|plus:1 %}
{% if events_counter >= 3 %}
{% break %}
{% endif %}
{% endfor %}
{% if has_upcoming_events == false %}
<article class="list-entry">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment