{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }} {{ $source := print $author.user "/messages/" .File.LogicalName }}
{{ if or .Weight .Params.Liked }} {{ if .Weight }} {{ safeHTML (readFile "static/icons/tabler/pinned.svg") }} Pinned {{ end }} {{ if .Params.Liked }} {{ safeHTML (readFile "static/icons/feather/heart.svg") }} Liked {{ end }} {{ end }}

{{ partial "author-name.html" . }}

· {{ partial "handle.html" . }} {{ if .Draft }} · Draft {{ end }} · {{- partial "read-time.html" . -}} · {{- partial "word-count.html" . -}} {{ if .Params.Unlisted }} · {{ safeHTML (readFile "static/icons/feather/eye-off.svg") }} unlisted {{ end }} · {{- if .ExpiryDate -}} · {{- partial "expiry-date.html" . -}} {{- end -}} · #id {{ if not .ExpiryDate }} · raw {{- end -}}