transmet/templates/pages/news.html

15 lines
251 B
HTML

{{define "body"}}
<h2 class="news-heading">News</h2>
{{template "flashes" .}}
{{range $news_post := .news}}
{{template "row-news" $news_post}}
{{end}}
{{end}}
<!-- print a news row -->
{{define "row-news"}}
{{end}}