{{ define "main" }} <h1>All pages</h1> <p>These documents are a personal dump of notes and may change at any time.</p> <section class="post-list"> {{ range .Pages.ByPublishDate.Reverse }} <article> <a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="lastmod">(Last modified: <time datetime="{{ .Lastmod | time.Format "2006-01-02"}}">{{ .Lastmod | time.Format "2006-01-02"}}</time>)</span> </article> {{ end }} </section> {{ end }}