On the home page I want to group pages by year and then fall back to default sorting within each year (Weight > Date > LinkTitle > FilePath). How to apply default ordering rules to {{ range .Pages }}
?
{{ range (where (where .Pages "Draft" "==" false) "Section" "!=" "").GroupByDate "2006" }}
<section>
<h2>{{ .Key }}</h2>
{{ range .Pages }}
<article>
<header>
<h3><a href="{{ .Permalink }}">{{ if .Draft }}[DRAFT] {{ end }}{{ .Title }}</a></h2>
</header>
{{ .Summary }}
</article>
{{ end }}
</section>
{{ end }}