Partial to variable and check whether variable contains anything

Gosh. That is easy. Thank you very much.

I need to use

{{- with .Params.author -}}
{{ . }}
{{ end }}

in the partial, which looks odd to me—switching from ERB/HAML/SLIM … But it works.