{{ $url := urls.Parse (.Get "youtube_url") }} {{ $query_params := $url.Query }} {{ $id := index (index $query_params "v") 0 }} {{ if $id }}
{{ end }}