blob: e90352df26b0ef05e7c627a1dd040c8e52a48cf4 (
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-grey-dark">{{ .Inner | markdownify }}</figcaption>
</figure>
|