<div style="font-size: 0.5em; float: right;">{{ .Params.categories }}</div>
<div>{{ .PublishDate.Format "January 2 2006" }}</div>
{{.Title}}
+ {{ 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 }}
<div>{{ truncate 100 .Summary }}</div>
+ {{- end }}
</a><br>