Skip to content

Commit

Permalink
Fixing a bug I introduced earlier
Browse files Browse the repository at this point in the history
When I made this more flexible to work for the events-draft collection, I introduced a bug by using include.events instead of my-events (which has a default associated with it).  Fixed now.
  • Loading branch information
bernhold committed Feb 2, 2024
1 parent 01a9435 commit 56d31c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/_events/events-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h2 class="event-title">{{ my-title }}</h2>
{% if event.subevents %}
<ul class="subevents">
{% for subslug in event.subevents %}
{% assign sub = include.events | where: 'slug', subslug %}
{% assign sub = my-events | where: 'slug', subslug %}
<li>
<a href="{{ sub[0].url }}" class="subevent-link">
{% if sub[0].title-type %}
Expand Down

0 comments on commit 56d31c5

Please sign in to comment.