{{ $videoID := index .Params 0 }} {{ $pageNum := index .Params 1 | default 1 }} {{ if (findRE "^[bB][vV][0-9a-zA-Z]+$" $videoID) }}