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