{{ $src := .Get "src" }} <img class="image float-right" {{ with .Get "alt" }}alt="{{ . }}"{{ end }} src="{{ ($.Page.Resources.GetMatch $src)}}" >