{{ define "head" }} {{ if .Site.Params.bgImg -}} {{- else if .Site.Params.images -}} {{- range first 1 .Site.Params.images -}} {{- end -}} {{- end -}} {{ end }} {{ define "main" }} {{- if (or .Site.Params.images .Site.Params.bgImg) }}
{{- end }}{{.}}
{{- end }} {{- with .Site.Params.socialLinks }} {{- end }}