Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit cfbd32a

Browse files
Hotfix for sidebar
1 parent 0538b36 commit cfbd32a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/future.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- range sort $.Site.Data.events "startdate" -}}
22
{{- if .startdate -}}
3-
{{- if ge (time .enddate) now -}}
3+
{{- if ge (time .enddate) (now.AddDate 0 0 -1) -}}
44
{{- if ne ($.Scratch.Get "year") (dateFormat "2006" .startdate) -}}
55
{{- $.Scratch.Set "year" (dateFormat "2006" .startdate) -}}
66
{{- $.Scratch.Set "year-displayed" "false" -}}

0 commit comments

Comments
 (0)