{{ if not .State.XHR }}
{{ if gt .Rank 0 }}
{{ .Rank }}
{{ end }}
{{ end }} {{ if .State.Session }} {{ else }}
{{ .Counts.Score }}
{{ end }} {{ if not .State.XHR}}
{{ .Post.Name }} ({{ domain . }})
submitted {{ humanize .Post.Published.Time -}} {{- if gt .Post.Updated.Time.Unix .Post.Published.Time.Unix -}} * (last edited {{ humanize .Post.Updated.Time }}) {{ end }} by {{ fullname .Creator }} to c/{{ fullcname .Community}}
{{ .Counts.Comments }} comments {{ if and .State.Session (eq .State.Session.UserID .Post.CreatorID) }} {{ if not .Post.Deleted }}edit{{end}} {{ end}}
{{ if (and .Post.Body.IsValid (ne .Post.Body.String "")) }}
{{ markdown .State.Host .Post.Body.String }}
{{ end }} {{ if isImage .Post.URL.String}} {{ end }}
{{ end }}