{{- $vid := .Get "id" | default (.Get 0) -}} {{ $q := "" }} {{ if strings.HasPrefix (lower $vid) "bv" }} {{ $q = querify "bvid" $vid }} {{ else }} {{ $q = querify "aid" $vid }} {{ end }}