{{- /* JSON-LD structured data — WebSite on home, BlogPosting on posts */ -}} {{- if .IsHome -}} {{- else if and .IsPage (eq .Section "posts") -}} {{- $authorPage := "" -}} {{- with .Params.author -}} {{- $authorPage = site.GetPage (printf "authors/%s" .) -}} {{- end -}} {{- end -}}