{{ $img := $.Page.Resources.GetMatch (.Get 0)}}
<figure class="d-flex justify-content-center">
    <img data-src="{{ $img.RelPermalink }}" alt="(.Get 1)" />
    <figcaption>{{.Get 1}}</figcaption>
</figure>
