9 lines
270 B
HTML
9 lines
270 B
HTML
|
{{ if .Title }}
|
||
|
<figure>
|
||
|
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }}title="{{ . }}"{{ end }}>
|
||
|
<figcaption>{{ .Title }}</figcaption>
|
||
|
</figure>
|
||
|
{{ else }}
|
||
|
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}">
|
||
|
{{ end }}
|