{{- $_hugo_config := `{ "version": 1 }` }} {{- $style := .Get "style" | default "transparent" }} {{- $title := .Get "title" | default ("Attachments-label" | T) }} {{- $sort := .Get "sort" | default "asc" }} {{- $icon := .Get "icon" | default "" }} {{- if and (not $icon) (eq (len $icon) 0) }} {{- $icon = "paperclip" }} {{- end }} {{- $icon = trim $icon " " }}