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