diff --git a/layouts/partials/head-open.html b/layouts/partials/head-open.html
index b3ffaaf6..a6f76df5 100644
--- a/layouts/partials/head-open.html
+++ b/layouts/partials/head-open.html
@@ -55,7 +55,15 @@
"headline" : "{{ .Title }}",
{{ end }}
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
- "inLanguage" : "{{ if eq "essays" .Section }}nl-BE{{ else }}en-US{{ end }}",
+ {{ if isset .Params "language" }}
+ "inLanguage" : "{{ .Params.language }}",
+ {{ else if eq "essays" .Section }}
+ "inLanguage" : "nl-BE",
+ {{ else if eq "teaching" .Section }}
+ "inLanguage" : "nl-BE",
+ {{ else }}
+ "inLanguage" : "en-US",
+ {{ end }}
{{ if .Params.bigimg }}
"image": "{{.Site.BaseURL}}{{ .Params.bigimg }}",
{{ else }}