<!DOCTYPE html> <html lang="en"> {{ template "head" . }} <body> {{ template "header" . }} <main> <div> <p> <code>posts sorted by last mod time</code> </p> </div> {{ range $ind, $post := .posts }} <div> <p> {{ $post.Preview }} </p> <p> <a href="{{ $post.Link }}">read more</a> </p> <p> <code>mod time: {{ $post.Timestamp }}</code> </p> </div> {{ end }} </main> {{ template "footer" . }} </body> </html>