1
0
Fork 0
faulty.equipment/themes/fesite/layouts/_default/_markup/render-image.html
Hamcha 4a65520db6
All checks were successful
continuous-integration/drone/push Build is passing
add cad shootout
2023-09-11 17:02:41 +02:00

15 lines
449 B
HTML

<figure width="100%">
<a href="#{{ .Destination | md5 }}-lightbox"
><img src="{{ .Destination | safeURL }}" alt="{{ .PlainText }}"
/></a>
<figcaption>
{{ if .Title }}
<p>{{ .Title | markdownify }}</p>
{{ else if .Text }}
<p>{{ .Text }}</p>
{{ end }}
</figcaption>
</figure>
<a href="#_" class="lightbox" id="{{ .Destination | md5 }}-lightbox">
<img src="{{ .Destination | safeURL }}" alt="{{ .PlainText }}" />
</a>