takunomi-blog/blog_roll.tmpl

5 lines
169 B
Cheetah
Raw Normal View History

2017-11-07 11:16:35 +00:00
{{define "content"}}
{{with .Posts}}
{{range .}}
<article class="post">{{template "post" .}}</article>{{else}}<div><strong>no posts</strong></div>{{end}}{{end}}{{end}}