{{ define "main" }} {{- partial "about.html" . -}} <div id="blog-post" class="panel my-2"> <h1 class="mb-4"><a href="/blog/">Blog Posts</a></h1> {{ range first 3 (where .Site.RegularPages "Section" "blog") }} {{ partial "micropanel.html" . }} {{end}} </div> <div id="project-posts" class="panel my-2"> <h1 class="mb-4"><a href="/projects/">Featured Projects</a></h1> {{ range first 3 (where .Site.RegularPages "Section" "projects") }} <div>{{ .Title }}</div> {{end}} </div> {{ end }}