{{ template "nav.html" . -}} {{ if or (contains .Sort "Top") (and (not .PostID) (not .User) (not .Community) (not .Activities) (eq .Op ""))}} {{ template "menu.html" . }} {{ end}}
{{ if or (ne .Query "") .Communities }} {{ end}} {{ if .Error }}
{{.Error}}
{{ end }} {{ range .Communities }} {{ template "community.html" . }} {{ end }} {{ if eq .Op "create_community" "edit_community" }} {{ template "create_community.html" . }} {{ end }} {{ range .Posts }} {{ template "post.html" . }} {{ end }} {{ if eq .Op "create_post" "edit_post" }} {{ template "create_post.html" . }} {{ end }} {{ if and .PostID .Posts}} {{ if .CommentID}}
you are viewing a single comment's thread
view the rest of the comments
{{ else }}
{{if .Comments}}{{if gt .Page 1}}next{{else if or (lt .CommentCount 200) (lt (index .Posts 0).Counts.Comments .CommentCount) }}all{{else}}top{{end}} {{.CommentCount}} comments{{else}} no comments (yet){{end}}
sorted by: hot top new old
{{ if and .Session (ne .Op "edit_post") }}
{{ end }} {{ end }} {{ end}} {{ range $i, $comment := .Comments }} {{ template "comment.html" $comment }} {{ end }} {{ if eq .Op "send_message" }} {{ template "send_message.html" . }} {{ else }} {{ template "activities.html" . }} {{ end }} {{ if or (and (not .Op) (not .Activities) (not .Comments) (not .Posts) (not .Communities)) (and (not .Comments) .PostID) (and (not .Activities) (not .Query) .User) }}
there doesn't seem to be anything here
{{ end }} {{ if or .Query (eq .SearchType "Communities") (eq (len .Posts) 25) (and .Comments (and (eq .CommentCount 200) (gt (index .Posts 0).Counts.Comments .CommentCount))) (and .User (or (gt .User.PersonView.Counts.CommentCount 10) (gt .User.PersonView.Counts.PostCount 10))) }}
view more: {{if gt .Page 1 }}‹ prev{{ end }} next ›
{{ end }} {{ template "sidebar.html" . }}