{{ range ( ( where .Pages "Draft" false ).GroupByPublishDate "2006" ) }} {{ if ( not ( eq .Key "0001" ) ) }} {{ partial "header-tile.html" . }} {{ range .Pages }} {{ partial "item-tile.html" . }} {{ end }} {{ end }} {{ end }}