Added image captions
parent
cef669c062
commit
d5302d89e7
|
@ -0,0 +1,8 @@
|
|||
{{ if .Text }}
|
||||
<figure>
|
||||
<img src="{{ .Destination | safeURL }}">
|
||||
<figcaption>{{ .Text }}</figcaption>
|
||||
</figure>
|
||||
{{ else }}
|
||||
<img src="{{ .Destination | safeURL }}">
|
||||
{{ end }}
|
Loading…
Reference in New Issue