<div class="post-list"> {{ range . }} {{ partial "post.html" . }} {{ end }} </div>