{{ with resources.Get . }}
  {{ if eq .MediaType.SubType "svg" }}
  <img class="" src="{{ .Permalink }}" alt="{{ .Title }}">
  {{ else }}
  <img class="" src="{{ .Permalink }}" alt="{{ .Title }}" width="{{ .Width }}" height="{{ .Height }}">
  {{ end }}
  
{{ end }}
