{{ $extURL := and .Page.Site.Params.exturl.enable (strings.HasPrefix .Destination "http") }} {{ .Text | safeHTML }} {{ if and $extURL .Page.Site.Params.exturl.icon }} {{ end }}