Skip to content

Commit 287f002

Browse files
authored
ENH add algolia docsearch version meta tag (#1989)
1 parent 8402882 commit 287f002

File tree

1 file changed

+1
-0
lines changed
  • src/pydata_sphinx_theme/theme/pydata_sphinx_theme

1 file changed

+1
-0
lines changed

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
{%- block extrahead %}
3434
<meta name="viewport" content="width=device-width, initial-scale=1"/>
3535
<meta name="docsearch:language" content="{{ language }}"/>
36+
<meta name="docsearch:version" content="{{ version }}" />
3637
{%- if last_updated %}
3738
<meta name="docbuild:last-update" content="{{ last_updated | e }}"/>
3839
{%- endif %}

0 commit comments

Comments
 (0)