mirror of
https://codeberg.org/mclemens/amberterm.git
synced 2024-07-03 21:15:25 +00:00
12 lines
242 B
HTML
12 lines
242 B
HTML
{{ if .Title }}
|
|
<figure>
|
|
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
|
|
<figcaption>{{ .Title }}</figcaption>
|
|
</figure>
|
|
{{ else }}
|
|
<figure>
|
|
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
|
|
</figure>
|
|
{{ end }}
|
|
|