{{ define "main" }} <a name="top"> <h1>{{ .Title }}</h1> </a> {{ .Content }} <div class="press-articles"> {{ range .Pages.ByPublishDate.Reverse }} <div class="press-article"> <h2 class="title">{{ .Title }}</h2> <div class="metadata"> <span class="date">{{ .Date.Format "02.01.2006" }}</span> {{ with .Param "source" }}<span class="source">Quelle: {{ . }}</span>{{ end }} </div> <div class="content">{{ .Content }}</div> </div> {{ end }} </div> {{ partial "totop" }} {{ end }}