{{- $displayArtist := (.Get "composer") | default (.Get "artist") -}} {{- $displayTitle := (.Get "title") | default (.Get "album") -}} {{- $url := partial "songlink.url" (printf "https://open.spotify.com%s" (.Get "path")) -}}
🎶 {{ $displayArtist }}{{ with $displayTitle }}{{ if $displayArtist }}: {{ end }}{{ . }}{{ end }}
{{ with $url }}Listen elsewhere{{ end }}