{{ define "main" }} {{ .Content }} <section> {{- range where site.RegularPages "Type" "in" site.Params.mainSections }} <div class="row"> <div class="ten columns offset-by-one post-preview"> <a href="{{ .Permalink }}" rel="bookmark" title="Permalink to {{ htmlEscape .Title }}"> <h2>{{ .Title }}</h2> <h4>{{ .Summary }}...</h4> </a> <p class="post-meta"> Veröffentlicht {{ if isset .Params "author" }}von {{ .Params.author }} {{end}}am {{ dateFormat "Monday, 2. January 2006" .Date }} </p> <hr> </div> </div> {{- end }} </section> {{ end }}