Add a search JSON-LD meta description
Co-Authored-By: Tim Bannister <tim@scalefactory.com>pull/19344/head
parent
51b4fa8fc7
commit
7258a8dfb6
|
@ -54,7 +54,14 @@
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"url": "https://kubernetes.io",
|
"url": "https://kubernetes.io",
|
||||||
"logo": "https://kubernetes.io/images/favicon.png"
|
"logo": "https://kubernetes.io/images/favicon.png",
|
||||||
|
{{- if not .Site.Params.deprecated }}
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": {{ printf "%s%s" ("/docs/search/" | absURL) "?q={search_term_string}" }},
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<meta name="theme-color" content="#326ce5">
|
<meta name="theme-color" content="#326ce5">
|
||||||
|
|
Loading…
Reference in New Issue