{{ define "header" }}
  {{ partial "header.html" . }}
{{ end }}

{{ define "main" }}
{{ $pages := .Pages.ByDate.GroupByDate "Jan 2006" }}
{{- range $pages -}}
  <div>
    <h6><span>{{ .Key | title }}</span></h6>
  </div>
  {{- range .Pages -}}
    {{- .Render "li_thumbnail_in_grid" -}}
  {{- end -}}
{{- end -}}
{{ end }}

{{ define "footer" }}
  {{ partial "footer.html" . }}
{{ end }}
