takunomi-blog/templates/blog_roll.tmpl

11 lines
398 B
Cheetah
Raw Normal View History

2017-11-07 11:16:35 +00:00
{{define "content"}}
{{with .Posts}}
{{range .}}
2017-11-21 21:01:38 +00:00
<article class="post">{{template "post" .}}</article>{{else}}<div><strong>no posts</strong></div>{{end}}{{end}}
2017-12-09 13:36:37 +00:00
<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>
2017-11-21 21:01:38 +00:00
{{end}}