{{ template "header.html" . }} {{ template "headeronegroup.html" . }}
{{ template "fragpost.html" . }}

{{ if eq .Sort "threaded" }}threaded{{ else }}threaded{{ end }} - {{ if eq .Sort "newest" }}newest{{ else }}newest{{ end }}

{{ $userinfo := .UserInfo }} {{ range .Comments }} {{ template "fragcomment.html" map "Comment" . "UserInfo" $userinfo }} {{ end }}
{{ if .UserInfo }}{{ if .UserInfo.IsApproved }} {{ template "formcomment.html" . }} {{ end }}{{ end }}