{{- $page := .page }} {{- $class := .class | default "" }} {{- $href := (trim .href " ") | default "" }} {{- $onempty := cond (isset . "onempty") .onempty "disable" }} {{- $onwidths := cond (isset . "onwidths") .onwidths "show" }} {{- $onwidthm := cond (isset . "onwidthm") .onwidthm "show" }} {{- $onwidthl := cond (isset . "onwidthl") .onwidthl "show" }} {{- $type := .type | default "" }} {{- $title := (trim .title " ") | default "" }} {{- $hint := (trim .hint " ") | default "" }} {{- $icon := (trim .icon " ") | default "" }} {{- $content := .content }}