We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a377063 commit 386a97dCopy full SHA for 386a97d
site/themes/arangodb-docs-theme/layouts/partials/meta.html
@@ -14,8 +14,9 @@
14
<meta name="author" content="{{ . }}">
15
{{- end }}
16
{{- $versionShort := .Page.Store.Get "versionShort" }}
17
-{{- with $versionShort }}
18
-<meta name="docsearch:version" content="{{ . }}">
+{{- $versionAlias := .Page.Store.Get "alias" }}
+{{- if $versionShort }}
19
+<meta name="docsearch:version" content="{{ $versionShort }}{{ if ne $versionShort $versionAlias }},{{ $versionAlias }}{{ end }}">
20
21
{{- if (hasPrefix .Path "/arangodb/") }}
22
{{- if or (.Page.Store.Get "deprecated") (.Page.Store.Get "inDevelopment") }}<meta name="robots" content="noindex">{{ end }}
0 commit comments