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