{{define "content"}} {{if .Posts}} <ul class="post-list"> {{range .Posts}} <li> <a href="/posts/{{.Slug}}">{{.Title}}</a> <time datetime="{{isodate .Date}}">{{date .Date}}</time> {{with .Summary}}<p>{{.}}</p>{{end}} </li> {{end}} </ul> {{else}} <p>No posts yet.</p> {{end}} {{end}}