{{ .Title }}
{{ end }} -- {{ with .Page.Params.Blog }} {{ partial "taxonomy/blog.html" . }}{{ end }}
- {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }} - {{ else }} - {{ $mention_ids := index $.Site.Data.index .RelPermalink }} - - {{ $mentions := apply $mention_ids "index" $.Site.Data.mentions "." }} - {{ $.Scratch.Set "likecount" 0 }} - {{ $.Scratch.Set "sharecount" 0 }} - {{ $.Scratch.Set "commentcount" 0 }} - {{ $.Scratch.Set "mentioncount" 0 }} - {{ range $mentions }} - {{ if eq (index . "wm-property") "like-of" }}{{ $.Scratch.Add "likecount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "repost-of" }}{{ $.Scratch.Add "sharecount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "in-reply-to" }}{{ $.Scratch.Add "commentcount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "mention" }}{{ $.Scratch.Add "mentioncount" 1 }}{{ end }} - {{ end }} - {{ $likecount := $.Scratch.Get "likecount" }}{{ if ne $likecount 0 }} {{$likecount}} like{{if gt $likecount 1}}s{{end}}{{end}} - {{ $sharecount := $.Scratch.Get "sharecount" }}{{ if ne $sharecount 0 }} {{$sharecount}} share{{if gt $sharecount 1}}s{{end}}{{end}} - {{ $commentcount := $.Scratch.Get "commentcount" }}{{ if ne $commentcount 0 }} {{$commentcount}} repl{{if gt $commentcount 1}}ies{{else}}y{{end}}{{end}} - {{ $mentioncount := $.Scratch.Get "mentioncount" }}{{ if ne $mentioncount 0 }} {{$mentioncount}} mention{{if gt $mentioncount 1}}s{{end}}{{end}} - - {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }} - {{ end }} - - {{ end }} -