Would load the template /layouts/shortcodes/youtube.html
<divclass="embed video-player">
<iframeclass="youtube-player"type="text/html"width="640"height="385"src="http://www.youtube.com/embed/{{ index .Params 0 }}"allowfullscreenframeborder="0">
Would load the template /layouts/shortcodes/img.html
<!-- image -->
<figure{{ifisset.Params"class"}}class="{{ index .Params "class"}}"{{end}}>
{{ if isset .Params "link"}}<ahref="{{ index .Params "link"}}">{{ end }}
<imgsrc="{{ index .Params "src"}}"{{ifor(isset.Params"alt")(isset.Params"caption")}}alt="{{ if isset .Params "alt"}}{{index.Params"alt"}}{{else}}{{index.Params"caption"}}{{end}}"{{end}}/>
{{ if isset .Params "link"}}</a>{{ end }}
{{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
<figcaption>{{ if isset .Params "title" }}
<h4>{{ index .Params "title" }}</h4>{{ end }}
{{ if or (isset .Params "caption") (isset .Params "attr")}}<p>
{{ index .Params "caption" }}
{{ if isset .Params "attrlink"}}<ahref="{{ index .Params "attrlink"}}"> {{ end }}