takunomi-blog/blog_roll.tmpl
2017-11-07 12:16:35 +01:00

5 lines
169 B
Cheetah

{{define "content"}}
{{with .Posts}}
{{range .}}
<article class="post">{{template "post" .}}</article>{{else}}<div><strong>no posts</strong></div>{{end}}{{end}}{{end}}