Skip to content

Commit

Permalink
add external events to eventstable on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltemann committed Jun 4, 2024
1 parent e5c8888 commit 3ff7d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h2><a href="{% link events/index.md %}">Upcoming Events</a></h2>

<div class="newstable">
<div class="list-group">
{% assign events = site.pages | where: "layout", "event" | where: "not_started", true %}
{% assign events = site.pages | where_exp: "item", "item.layout == 'event' or item.layout == 'event-external' " | where: "not_started", true | sort: 'date_start' %}
{% assign events_length = events | size %}
{% if events_length == 0 %}
<p>No known upcoming events.</p>
Expand Down

0 comments on commit 3ff7d99

Please sign in to comment.