{{ $isRedirected := findRE "^(|../|/docs/languages/.+?/)(api|daily-builds)(/.*)?(\\?.*)?$" .Destination }} {{ $isExternal := or (hasPrefix .Destination "http") $isRedirected -}} {{- .Text | safeHTML -}} {{ if $isExternal -}} {{- end -}}