Skip to content
Snippets Groups Projects
Unverified Commit 2b97ef2b authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Feature more than one event on front page

parent e213cca1
No related branches found
No related tags found
No related merge requests found
Pipeline #196402 passed with warnings
...@@ -17,19 +17,22 @@ ...@@ -17,19 +17,22 @@
"description": "Große Sommerfreizeit in Bonn-Bad Godesberg mit Coding-Workshops, Spiel und Spaß", "description": "Große Sommerfreizeit in Bonn-Bad Godesberg mit Coding-Workshops, Spiel und Spaß",
"location": "Bonn (Jugendzeltplatz)", "location": "Bonn (Jugendzeltplatz)",
"date": "2025-08-21", "date": "2025-08-21",
"fully_booked": false "fully_booked": false,
"featured": true
}, },
"froglabs-2025-glt": { "froglabs-2025-glt": {
"display_name": "Mini-FrogLabs Grazer Linux-Tage 2025", "display_name": "Mini-FrogLabs Grazer Linux-Tage 2025",
"description": "Workshopprogramm für Kinder und Jugendliche bei den Grazer Linux-Tagen 2025", "description": "Workshopprogramm für Kinder und Jugendliche bei den Grazer Linux-Tagen 2025",
"location": "Graz", "location": "Graz",
"date": "2025-04-26" "date": "2025-04-26",
"featured": true
}, },
"froglabs-2025-tuebix": { "froglabs-2025-tuebix": {
"display_name": "Mini-FrogLabs TÜBIX 2025", "display_name": "Mini-FrogLabs TÜBIX 2025",
"description": "Workshopprogramm für Kinder und Jugendliche beim Tübinger Linux-Tag 2025", "description": "Workshopprogramm für Kinder und Jugendliche beim Tübinger Linux-Tag 2025",
"location": "Tübingen", "location": "Tübingen",
"date": "2025-07-05" "date": "2025-07-05",
"featured": true
}, },
"campdays-2024-12": { "campdays-2024-12": {
"display_name": "Campdays Winter 2024", "display_name": "Campdays Winter 2024",
......
{# FIXME generate dynamically #} <section class="section">
{% set title = trans(key="upcoming_events", lang=lang) %} <div class="container">
{% set slug = "hacknsun-2025-bn" %} <h2 class="title is-2">{{ trans(key="upcoming_events", lang=lang) }}</h2>
{% include "shortcodes/event_section.html" %} {# <div class="columns is-multiline is-same-height mt-4"> #}
{% set events_data = load_data(path="events.json") -%}
{% set no_title = true %}
{% for slug, event in events_data %}
{% if event.featured | default(value=false) %}
{# <div class="column is-one-third"> #}
{% include "shortcodes/teckids_event.html" %}
{# </div> #}
{% endif %}
{% endfor %}
{# </div> #}
</div>
</section>
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