forked from drowl87/hextra_mirror
9 lines
319 B
HTML
9 lines
319 B
HTML
![]() |
{{- if .Title -}}
|
||
|
<figure>
|
||
|
<img src="{{ .Destination | safeURL }}" title="{{ .Title }}" alt="{{ .PlainText | safeHTML }}" loading="lazy" />
|
||
|
<figcaption>{{ .Title }}</figcaption>
|
||
|
</figure>
|
||
|
{{- else -}}
|
||
|
<img src="{{ .Destination | safeURL }}" alt="{{ .PlainText | safeHTML }}" loading="lazy" />
|
||
|
{{- end -}}
|