on }}
{{- end -}}

{{- $.Scratch.SetInMap "seo" "description" $description -}}

{{/* Site Name */}}
{{- with .Param "seo.site_name" -}}
	{{- $.Scratch.SetInMap "seo" "site_name" . -}}
{{- else -}}
	{{- $.Scratch.SetInMap "seo" "site_name" .Site.Title -}}
{{- end -}}

{{/* Twitter */}}
{{/* Default twitter_card is "summary_large_image" */}}
{{- $.Scratch.SetInMap "seo" "twitter_card" "summary_large_image" -}}

{{/* We check the site config sports a Social.twitter and use as handle */}}
{{- with .Site.Params.