Make content images clickable to open image
This commit is contained in:
parent
cf9c944422
commit
e746640293
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<figure class="text-center">
|
<figure class="text-center">
|
||||||
<img src="{{ $destination | safeURL }}" alt="{{ .Text | plainify }}" style="max-width: 90%;"/>
|
<a href="{{ $destination | safeURL }}" target="_blank">
|
||||||
|
<img src="{{ $destination | safeURL }}" alt="{{ .Text | plainify }}" style="max-width: 90%;"/>
|
||||||
|
</a>
|
||||||
<figcaption class="text-center">
|
<figcaption class="text-center">
|
||||||
<small>{{ .Text | markdownify }}</small>
|
<small>{{ .Text | markdownify }}</small>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
|
|
Loading…
Reference in a new issue