takunomi-blog/templates/blog_roll.tmpl

11 lines
445 B
Cheetah

{{define "content"}}
{{with .Posts}}
{{range .}}
<article class="post" style="margin-left:0px">{{template "post" .}}</article>{{else}}<div><strong>no posts</strong></div>{{end}}{{end}}
<article class="post bottomMenu"style="margin-left:0px">
<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}}