{{ range sort .Sections "Params.homepage_index" }} <h3 class="recipecat">{{ .Title }}</h3> <ul> {{ range sort .Pages "Title" }} {{ partial "recipe_list_entry.html" . }} {{ end }} </ul> {{ end }}