{{template "head.html" .}} {{template "nav.html" .}}
{{ template "calendar-header.html" . }}

Sunday

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

{{$base := .}} {{range .Dates}}
{{if eq $base.Time.Month .Month}} {{end}}
{{$events := (call $base.EventsForDate .)}} {{if $events}}
    {{$overflow := 0}} {{if gt (len $events) 3}} {{$overflow = call $base.Sub (len $events) 3}} {{$events = slice $events 0 3}} {{end}} {{range $events}} {{$event := index .Data.Events 0}}
  • {{($event.DateTimeStart nil).Format "15:04"}} {{$event.Props.Text "SUMMARY"}}
  • {{end}} {{if ne $overflow 0}}
  • ...and {{$overflow}} more
  • {{end}}
{{end}}

{{.Format "Jan"}} {{.Format "2"}}{{call $base.DaySuffix .Day}}

{{end}}

Sunday

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

{{ template "calendar-header.html" . }}
{{template "foot.html"}}