I think I would go for the simpler:
{{ if strings.HasPrefix .Destination “http” }} target=“_blank”{{ end }}