+{{ define "main" }}
+{{ .Content }}
+<h1>Recent Posts</h1>
+<ul>
+ {{ range first 5 ($.Site.GetPage "/posts").Pages }}
+ <li><a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "January 2, 2006" }}</li>
+ {{ end }}
+</ul>
+<ul style="list-style: none;"><li><a href="/posts">Read all the posts</a></li></ul>
+
+{{ end }}