Skip to content

Commit

Permalink
Add Google site verification meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
a.krantz committed Oct 28, 2024
1 parent 2787443 commit 28cbe39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- _templates/layout.html -->
{% extends "!layout.html" %}

{% block extrahead %}
<meta name="google-site-verification" content="{{ google_site_verification }}" />
{{ super() }}
{% endblock %}
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
#
html_theme = "sphinx_rtd_theme"

html_context = {"google_site_verification": "M-YV4bEhpyyWVOBQB9VLsSCjKfqO_UpvTBMJ7DS5t_U"}

templates_path = ["_templates"]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down

0 comments on commit 28cbe39

Please sign in to comment.