{{ $id := .Get "id" | default (.Get 0) }} {{ $class := .Get "class" | default (.Get 1) }} {{ $hasClass := $class }} {{ $class := $class | default "__h_youtube" }} {{ if not $hasClass }} {{/* If class is set, assume the user wants to provide his own styles. */}} {{ template "__h_simple_css" $ }} {{ end }}