We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e217c commit f88723aCopy full SHA for f88723a
1 file changed
layouts/_partials/schema.html
@@ -18,6 +18,12 @@
18
{{- $schema = merge $schema (dict "dateModified" (time.Format "2006-01-02T15:04:05Z07:00" .)) -}}
19
{{- end -}}
20
21
+{{- /* Add mainEntityOfPage and language */ -}}
22
+{{- $schema = merge $schema (dict
23
+ "mainEntityOfPage" (dict "@type" "WebPage" "@id" .Permalink)
24
+ "inLanguage" site.Language.Lang
25
+) -}}
26
+
27
{{- /* Add author and publisher */ -}}
28
{{- $logoUrl := printf "%sassets/images/docker-logo.png" (strings.TrimSuffix "/" site.BaseURL | printf "%s/") -}}
29
{{- $org := dict
0 commit comments