ldEvent 1 ) }}
    {{ if (in $datetypes (index . 2 )) }}
      {{ $event = merge $event (dict (index . 0) (time.AsTime (index . 3)).Local) }}
    {{ else }}
      {{ $event = merge $event (dict (index . 0) (index . 3)) }}
    {{ end }}
  {{ end }}
  {{ $events = $events | append $event }}
{{ end }}
<main>
    <div id="main-wrapper" class="calendar-wrapper">
        <div id="xhain_calendar" class="calendar">
            <h1 id="article-title">{{ .Title }}</h1>
            {{ range $i, $month := (seq $monthCo