e="background-image: url('{{ $thumb | relURL }}');" {{ end }}{{ with
      .Get "size" }} data-size="{{.}}" {{ end }}>
      <img itemprop="thumbnail" src="{{ $thumb | relURL }}" {{ with .Get "alt" | default (.Get "caption" ) }}alt="{{.}}"
        {{ end }} /><!-- <img> hidden if in .gallery -->
    </div>
    {{ with .Get "link" | default (.Get "src") }}<a href="{{.}}" itemprop="contentUrl"></a>{{ end }}
    {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
    <figcaption align="center">
    