summaryrefslogtreecommitdiff
path: root/templates/blog.html
blob: 117f5ab18d58f41646c8a4f8b3938f6b44ccb1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{define "main"}}
{{with .Articles}}
    {{template "article_list" .}}
{{else}}
    <p>Nothing found</p>
{{end}}

{{if gt .Pages 1}}
    <p>{{pagination .Pages .Page "/blog"}}</p>
{{end}}

{{end}}