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