1
0
Fork 0
faulty.equipment/themes/fesite/layouts/_default/_markup/render-image.html

16 lines
464 B
HTML
Raw Normal View History

2023-09-11 15:02:41 +00:00
<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 }}
2023-09-13 19:59:07 +00:00
<p>{{ .Text | htmlUnescape }}</p>
2023-09-11 15:02:41 +00:00
{{ end }}
</figcaption>
</figure>
<a href="#_" class="lightbox" id="{{ .Destination | md5 }}-lightbox">
<img src="{{ .Destination | safeURL }}" alt="{{ .PlainText }}" />
</a>