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

{{if gt .Pages 1}}
    <p>{{pagination .Pages .Page (concat "/blog/tags/" .Tag)}}</p>
{{end}}

{{end}}