blob: 9c368c7b5911f7240757fcc504eb2304a9741cc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{ $imageFile := print "public" (.Destination | safeURL) }}
{{ $image := imageConfig $imageFile }}
{{- /* This comment removes trailing newlines. */ -}}
<figure>
<a href="{{ .Destination | safeURL }}" onclick="return false;">
<img data-image-zoom
src="{{ .Destination | safeURL }}"
alt="{{ $.Text }}"
title="{{ $.Text | htmlUnescape | safeHTML }}"
width="{{ $image.Width }}"
height="{{ $image.Height }}"
/>
</a>
<figcaption class="has-text-grey-dark">
{{ $.Title | markdownify }}
</figcaption>
</figure>
{{- /* This comment removes trailing newlines. */ -}}
|