Skip to content

Commit 5c7adea

Browse files
authored
Merge pull request #182 from ai-models/main
display recent events correctly
2 parents e872ecc + 488617b commit 5c7adea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/hugoplate/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h3>Recent Workshops</h3>
9393
{{ $events := where .Site.RegularPages "Section" "workshops" }}
9494
{{ $recentRecordings := slice }}
9595
{{ $sortedRecentRecordings := sort $events "Params.date" "desc" }}
96-
{{ range first 3 (where $sortedRecentRecordings "Params.upcoming" "ne" "true") }}
96+
{{ range first 3 (where $sortedRecentRecordings "Params.upcoming" "ne" true) }}
9797
<div class="md:col-12 lg:col-4 mb-14">
9898
{{ partial "components/session-card" . }}
9999
</div>

0 commit comments

Comments
 (0)