github.com/bowd/gqlgen@v0.7.2/docs/layouts/index.html (about) 1 {{ define "main" }} 2 {{ range where .Site.Pages "Type" "homepage" }} 3 <header> 4 <span class="description">{{ .Description }}</span> 5 <div class="content"> 6 <h1>{{ .LinkTitle }}</h1> 7 <div class="description">{{ .Title }}</div> 8 </div> 9 </header> 10 11 <main> 12 <div class="content"> 13 {{ .Content }} 14 </div> 15 </main> 16 {{ end }} 17 {{ end }}