{{ define "main" }} {{ $nextYear := (int .Title) }} {{ $pages := where .Site.RegularPages "Type" "in" (slice "posts") }} {{ $pages = sort $pages "Date" }} {{ $pages = first 1 $pages }} {{ $next := printf "%s/%s" "years" .Title }} {{ partial "navigation-bar.html" ( dict "context" . "items" (slice "years" ) )}}
{{ range .Pages }}
{{ partial "summary-with-thumbnail.html" . }}
{{ end }}
{{ end }}