{{- if isset .Params "description" -}} {{- $.Scratch.Set "description" .Params.description -}} {{- else -}} {{- if isset .Site.Params "description" -}} {{- $.Scratch.Set "description" .Site.Params.description -}} {{- end -}} {{- end }} {{ with $.Scratch.Get "description" -}}{{- end }} {{- if isset .Params "author" -}} {{- $.Scratch.Set "author" .Params.author -}} {{- else -}} {{- if isset .Site.Params "author" -}} {{- $.Scratch.Set "author" .Site.Params.author -}} {{- end -}} {{- end }} {{ with $.Scratch.Get "author" -}}{{- end }}