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 }}
|
||||
|
||||
<figure class="text-center">
|
||||
<a href="{{ $destination | safeURL }}" target="_blank">
|
||||
<img src="{{ $destination | safeURL }}" alt="{{ .Text | plainify }}" style="max-width: 90%;"/>
|
||||
</a>
|
||||
<figcaption class="text-center">
|
||||
<small>{{ .Text | markdownify }}</small>
|
||||
</figcaption>
|
||||
|
|
Loading…
Reference in a new issue