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

Commit bc165af

Browse files
committed
Merge branch 'master' of github.com:devopsdays/devopsdays-theme
2 parents be5cf79 + 15efaa8 commit bc165af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/future.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h3 class="left-nav-year">{{ dateFormat "2006" .startdate }}</h3>
1818
<h4 class="left-nav-months">{{ dateFormat "January" .startdate }}</h4>
1919
{{- $.Scratch.Set "month-displayed" "true" -}}
2020
{{- end -}}
21-
{{- if ne .startdate .enddate }}
21+
{{- if or (ne (time .startdate).Month (time .enddate).Month) (ne (time .startdate).Day (time .enddate).Day) -}}
2222
{{- if eq (time .startdate).Month (time .enddate).Month -}}
2323
<a href = "{{ (printf "events/%s" .name ) | absURL }}" class = "left-nav-event">
2424
{{ dateFormat "Jan 2" .startdate }} - {{ dateFormat "2" .enddate }}:

0 commit comments

Comments
 (0)