Skip to content

Commit 005ae8d

Browse files
committed
sort events
1 parent bcf6339 commit 005ae8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_layouts/posts_events.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ <h2>Upcoming events</h2>
1111
{% assign all_events = site.posts
1212
| where_exp: "item", "item.hidden != true"
1313
| where_exp: "item", "item.categories contains 'events'"
14+
| sort: "event.start_date"
1415
%}
1516

1617
{% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %}

0 commit comments

Comments
 (0)