1 2 3 4 5 6
<h3>Posts</h3> <ul id="posts"> {{- range where site.RegularPages "Type" "in" site.Params.mainSections }} {{ .Render "li" }} {{- end }} </ul>