{{ if .State.Session }} {{ end }}
{{- if or (lt .P.Counts.Score -5) .P.Comment.Deleted -}} [+] {{- else -}} [-] {{- end -}} {{- if .State.HideInstanceNames -}} {{ .P.Creator.Name }} {{- else -}} {{ fullname .P.Creator }} {{- end -}} {{.P.Counts.Score}} points {{ humanize .P.Comment.Published.Time }} {{- if gt .P.Comment.Updated.ValueOrZero.Time.Unix .P.Comment.Published.Time.Unix -}} * (last edited {{ humanize .P.Comment.Updated.ValueOrZero.Time }}) {{ end }}
{{ if eq .Op "edit" }} {{ template "create_comment.html" .State }} {{ else }} {{if .P.Comment.Deleted}} [deleted] {{else if .P.Comment.Removed }} [removed by mod] {{else}}
{{ markdown .State.Host .P.Comment.Content }}
{{end}} {{ if eq .Op "source" }}
{{end}} {{ end }}
{{ if and (eq .State.Op "reply") (eq .State.CommentID .P.Comment.ID)}} {{ template "create_comment.html" .State }} {{ end}} {{ range $ci, $child := .C }}{{ template "comment.html" $child }}{{end}} {{ if and (ne .P.Counts.ChildCount .ChildCount) (not .State.Activities) (not .State.Query) }}
load more comments ({{ sub .P.Counts.ChildCount .ChildCount}} replies)
{{end}}