{{if .Attachments}}
{{end}} {{$hasThumbnails := false}} {{- range .Attachments -}}
{{.Size | FileSize}}
{{end -}} {{if $hasThumbnails}}
{{- range .Attachments -}} {{if FilenameIsImage .Name}} {{if not (containGeneric $.Content .UUID)}} {{.Name}} {{end}} {{end}} {{end -}}
{{end}}