{{ template "header.html" . }}
{{ template "headeronegroup.html" . }}
<main>
{{ template "fragpost.html" . }}
<div id="commentbox" class="commentbox size08">
<p class="comment">
{{ if eq .Sort "threaded" }}threaded{{ else }}<a href="{{.Post.Rel}}#commentbox">threaded</a>{{ end }}
- {{ if eq .Sort "newest" }}newest{{ else }}<a href="?sort=newest#commentbox">newest</a>{{ end }}
</p>
{{ $userinfo := .UserInfo }}
{{ range .Comments }}
{{ template "fragcomment.html" map "Comment" . "UserInfo" $userinfo }}
{{ end }}
</div>
{{ if .UserInfo }}{{ if .UserInfo.IsApproved }}
{{ template "formcomment.html" . }}
{{ end }}{{ end }}
</main>
