{{- $params := .Scratch.Get "params" -}} {{- with .Site.Params.verification.google -}} {{- end -}} {{- with .Site.Params.verification.bing -}} {{- end -}} {{- with .Site.Params.verification.yandex -}} {{- end -}} {{- with .Site.Params.verification.pinterest -}} {{- end -}} {{- with .Site.Params.verification.baidu -}} {{- end -}} {{- with .Site.Params.verification.so -}} {{- end -}} {{- with .Site.Params.verification.sogou -}} {{- end -}} {{- /* Home SEO */ -}} {{- if .IsHome -}} {{- /* Page SEO */ -}} {{- else if .IsPage -}} {{- $authorName := .Site.Author.name | default (T "single.author") -}} {{- with .Params.author -}} {{- if reflect.IsMap . -}} {{- $authorName = cond (isset . "name") .name $authorName -}} {{- else -}} {{- $authorName = . -}} {{- end -}} {{- end -}} {{- end -}}