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