Skip to content

Commit a89570b

Browse files
[PYT-630] Webinars Latest Episode fix
1 parent bfbc068 commit a89570b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/latest_episodes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h2 class="episode-header-text">Latest Episodes</h2>
22
<div class="episode-card-row row col-md-12">
3-
{% assign events = site.events | where: "category", "live-stream" %}
3+
{% assign events = site.events | where: "category", "live-stream" | sort_natural: "date" | reverse %}
44
{% capture now %}{{'now' | date: '%s' | plus: 0 %}}{% endcapture %}
55
{% for item in events | where: "type" == "live-stream" | sort: "date" %}
66
{% capture date %}{{item.date | date: '%s' | plus: 0 %}}{% endcapture %}

0 commit comments

Comments
 (0)