{{- $post := . -}} {{- $text := $post.Params.description | default "" -}} {{- $runes := len $text -}} {{- if gt $runes 180 -}}{{- printf "%s……" (slicestr $text 0 180) -}}{{- else -}}{{- $text -}}{{- end -}}