{{ $scratch.Get "text" }}
{{ else }}
{{ $scratch.Get "text" }}
{{ end }}
{{/* include a link to the special embedded @@ references so the links are statically checked as we build the site */}}
{{ $branch := .Site.Data.args.branch_name }}
{{ $links := findRE "@(.*?)@" ($scratch.Get "text") }}
{{ range $link := $links }}
{{ $target := trim $link "@" }}
{{ if gt (len $target) 0 }}
{{ $href := printf "https://raw.githubusercontent.com/istio/istio/%s/%s" $branch $target }}
{{ end }}
{{ end }}