Skip to content

Commit

Permalink
Merge pull request #43 from mtgbl/pfirpfel-patch-1
Browse files Browse the repository at this point in the history
Do not show future cancelled events
  • Loading branch information
pfirpfel authored Jan 25, 2024
2 parents 11f4dfe + 75db402 commit bbe9743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: page
title: Nächste Events
permalink: /events/
---
{% assign upcoming_events = site.events | where_exp: "item", "item.date > site.time" %}
{% assign upcoming_events = site.events | where_exp: "item", "item.date > site.time" | where_exp: "item", "item.type != 'cancelled'" %}
{% for event in upcoming_events limit: 10 %}

<article>
Expand All @@ -16,4 +16,4 @@ permalink: /events/

---

[Vergangene Events](/vergangene-events)
[Vergangene Events](/vergangene-events)

0 comments on commit bbe9743

Please sign in to comment.