{{ $.Scratch.Set "maxwidth" ( $.Page.Site.Params.youtube.maxwidth ) }} {{ $.Scratch.Set "wpad" ( $.Page.Site.Params.youtube.wpad ) }} {{ $.Scratch.Set "nothumb" ( $.Page.Site.Params.youtube.disable_thumb ) }} {{ if .IsNamedParams }} {{ with .Get "maxwidth" }}{{ $.Scratch.Set "maxwidth" . }}{{ end }} {{ with .Get "wpad" }}{{ $.Scratch.Set "wpad" . }}{{ end }} {{ with .Get "nothumb" }}{{ $.Scratch.Set "nothumb" . }}{{ end }}
{{ else }} {{ $numOfParams := ( len .Params ) }} {{ end }}