{{- if .IsHome }} {{- $author := index $.Site.Data.authors .Site.Params.author }} {{- with .Site.Params.description }} {{- end }} {{- with .Site.Params.keywords }} {{- end }} {{- else if in .Page.URL "/posts/" }} {{- with .Page.Description }} {{- end }} {{- with .Page.Keywords }} {{- end }} {{- with .Page.Params.Author }} {{- $author := index $.Site.Data.authors . }} {{- end }} {{- end }}