{{ define "verified" }} {{ bold -}} {{ bcolor 0 12 -}} โœ” {{- reset }} {{ end }} {{ define "error" }} {{ bold -}} {{ color 4 -}} ERROR: {{- reset }} {{ . }} {{ end }} {{ define "link-info" }} {{ bold -}} {{- if index . "Header" -}} {{- index . "Header" -}} {{- else -}} Link info {{- end -}} {{- bold }} ยป {{ if index . "IsProfile" }} {{- if index . "Title" }} {{ bold -}} {{- index . "Title" }}: {{- bold }} {{- end }} {{ if index . "Name" }} {{ excerpt 184 (index . "Name") }} {{ if index . "Verified" }} {{ template "verified" }} {{ end }} {{ if or (index . "CountryCode") (index . "City") }} from {{ if and (index . "CountryCode") (index . "City") }} {{ index . "City" }}, {{ index . "CountryCode" }} {{ else }} {{ with index . "City" }} {{ . }} {{ end }} {{ with index . "CountryCode" }} {{ . }} {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if index . "Title" }} {{ excerpt 184 (index . "Title") }} {{ with index . "Duration" }} ({{ . }}) {{ end }} {{ else }} {{ if index . "Description" }} {{ excerpt 384 (index . "Description") }} {{ else }} {{ with index . "ImageType" }} {{ . }} image, {{ end }} {{ if (index . "ImageSize") (index . "Size") }} {{ with index . "ImageSize" }} {{ .X }}ร—{{ .Y }} {{ end }} {{ with index . "Size" }} ({{ size . }}) {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} {{ if or (index . "Author") }} {{ if index . "Author" }} {{ with index . "Author" }} by {{ excerpt 184 . }} {{ end }} {{ if index . "AuthorIsVerified" }} {{ template "verified" }} {{ end }} {{ end }} {{ end }} {{ if index . "Followers" }} ยท {{ with index . "Followers" }} ๐Ÿ‘ฅ{{ compactnum . }} {{ end }} {{ end }} {{ if or (index . "Likes") (or (index . "Favorites") (index . "Dislikes")) }} ยท {{ with index . "Likes" }} {{ color 3 -}} ๐Ÿ‘{{ compactnum . }} {{- reset }} {{ end }} {{ with index . "Dislikes" }} {{ color 4 -}} ๐Ÿ‘Ž{{ compactnum . }} {{- reset }} {{ end }} {{ with index . "Favorites" }} {{ color 7 -}} โค{{ compactnum . }} {{- reset }} {{ end }} {{ with index . "Reposts" }} {{ color 12 -}} ๐Ÿ”{{ compactnum . }} {{- reset }} {{ end }} {{ end }} {{ if or (index . "Views") (or (index . "Plays") (or (index . "Downloads") (or (index . "Uploads") (index . "Comments")))) }} ยท {{ with index . "Views" }} ๐Ÿ‘{{ compactnum . }} {{ end }} {{ with index . "Plays" }} โ–ถ{{ compactnum . }} {{ end }} {{ with index . "Downloads" }} โฌ‡{{ compactnum . }} {{ end }} {{ with index . "Uploads" }} โฌ†๏ธ{{ compactnum . }} {{ end }} {{ with index . "Comments" }} ๐Ÿ’ฌ{{ compactnum . }} {{ end }} {{ end }} {{ end }}