+ {{ if .Params.caption }}
+ {{- if (eq (printf "%T" .Params.caption) "string") }}
+ {{- .Params.caption -}}
+ {{- else }}
+ {{- index .Params.caption 0 }}
+ {{- if (gt (len .Params.caption) 1) }}
+ {{- range after 1 .Params.caption -}}
+ <br>
+ {{ . }}
+ {{- end -}}
+ {{- end -}}
+ {{- end }}
+ {{ else }}