{{ $url := .Destination | safeURL }} {{ if or (strings.HasPrefix $url "http://") (strings.HasPrefix $url "https://") }} {{ .Text }} {{ else }} {{ .Text }} {{ end }}