{{ with .Get "src" }} {{ with $.Page.Resources.Get . }} {{ partial "embed-resource.html" . }} {{ with .Title }}
{{ . | markdownify }}
{{ end }} {{ else }} {{ errorf "resource %q not found" . }} {{ end }} {{ else }} {{ .Inner }} {{ with .Get "caption" }}
{{ . | markdownify }}
{{ end }} {{ end }}