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