takunomi-blog/templates/blog_roll.tmpl
2017-12-09 14:36:37 +01:00

11 lines
398 B
Cheetah

{{define "content"}}
{{with .Posts}}
{{range .}}
<article class="post">{{template "post" .}}</article>{{else}}<div><strong>no posts</strong></div>{{end}}{{end}}
<article class="post bottomMenu">
<div>
<a class="bottomMenuElement" href="/">Return to top. &#8634;</a></br>
<p class="bottomMenuElement">Looking for more to read? Try the <a href="/past">past</a> section.</p></div>
</div>
{{end}}