{{ if .IsNamedParams }} {{ with $.Site.Params.youtube }}{{ $.Scratch.Set "maxwidth" .maxwidth }}{{ end }} {{ with .Get "maxwidth" }}{{ $.Scratch.Set "maxwidth" . }}{{ end }} {{ with $.Site.Params.youtube }}{{ $.Scratch.Set "wpad" .wpad }}{{ end }} {{ with .Get "wpad" }}{{ $.Scratch.Set "wpad" . }}{{ end }} {{ with $.Site.Params.youtube }}{{ $.Scratch.Set "noThumb" .disable_thumb }}{{ end }} {{ with .Get "nothumb" }}{{ $.Scratch.Set "noThumb" . }}{{ end }}