aboutsummaryrefslogtreecommitdiff
path: root/templates/timeline.tmpl
blob: aa951fc815fe58b637e2f33217835ff24f4cd149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{with .Data}}
{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
<div class="page-title"> {{.Title}} </div>

{{template "postform.tmpl" (WithContext .PostContext $.Ctx)}}

{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{end}}

<div class="pagination">
	{{if .HasPrev}}
		<a href="{{.PrevLink}}">prev</a>
	{{end}}
	{{if .HasNext}}
		<a href="{{.NextLink}}">next</a>
	{{end}}
</div>

{{template "footer.tmpl"}}
{{end}}