{{- if hasPrefix .Destination "https://t.me/" -}} @{{ slicestr .Destination 13 }} {{- else if hasPrefix .Destination "mailto:" -}} {{- $text := replace (replace .Text "-" "--") "_" "__" -}} {{- else -}} {{- .Text | safeHTML -}} {{- end -}}