{{ range sort .Sections "Params.homepage_index" }}
<h3 class="postcat">{{ .Title }}</h3>
<ul>
{{ range sort .Pages "Title" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>