{{ if and (ne .State.Op "vote_post") (ne .State.Op "save_post") }}
{{ if gt .Rank 0 }}
{{ .Rank }}
{{ end }}
{{ end }} {{ if or (ne .State.Op "save_post") (eq .State.Op "vote_post") }} {{ if .State.Session }} {{ else }}
{{ .Counts.Score }}
{{ end }} {{ end }} {{ if and (ne .State.Op "vote_post") (ne .State.Op "save_post") }}
{{ rmmarkdown .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}}
{{ if .Post.NSFW }}NSFW{{end}} {{ .Counts.Comments }} comments {{ if and .State.Session (eq .State.Session.UserID .Post.CreatorID) }} {{ if not .Post.Deleted }}edit{{end}} {{ end}} {{ end }} {{ if or (ne .State.Op "vote_post") (eq .State.Op "save_post") }} {{ if .State.Session }} {{end}} {{ end }} {{ if and (ne .State.Op "vote_post") (ne .State.Op "save_post") }} {{ if .State.PostID }} hide all child comments {{ end }}
{{ if (and .Post.Body.IsValid (ne .Post.Body.String "")) }}
{{ markdown .State.Host .Post.Body.String }}
{{ end }} {{ if isImage .Post.URL.String}}
{{ end }}
{{ end }}