blob: 31527e2ed5f177747936f6a8494081c23546d819 (
plain)
1
2
3
4
5
6
7
8
9
|
{{ $imageFile := print "public" (.Get `source`) }}
{{ $image := imageConfig $imageFile }}
<figure>
<a href="{{ .Get `source` }}" onclick="return false;">
<img data-image-zoom src="{{ .Get `source` }}" alt="{{ .Get `title` }}" title="{{ .Get `title` }}" width="{{ $image.Width }}" height="{{ $image.Height }}"/>
</a>
<figcaption class="has-text-centered has-text-grey-dark">{{ .Inner | markdownify }}</figcaption>
</figure>
|