{{- if .Inner -}} {{- template "error" . -}} {{- end -}} {{- define "error" -}} {{- $title := cond (.IsNamedParams) (.Get "name") (.Get 0) -}}