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 }}
|
||
|
|