23 lines
512 B
Cheetah
23 lines
512 B
Cheetah
{{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}}
|