Merge pull request #1356 from django-components/verify_on_search_console
Some checks failed
Docs - build & deploy / docs (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.10) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.11) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.12) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.13) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.8) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.9) (push) Has been cancelled
Run tests / build (windows-latest, 3.10) (push) Has been cancelled
Run tests / build (windows-latest, 3.11) (push) Has been cancelled
Run tests / build (windows-latest, 3.12) (push) Has been cancelled
Run tests / build (windows-latest, 3.13) (push) Has been cancelled
Run tests / build (windows-latest, 3.8) (push) Has been cancelled
Run tests / build (windows-latest, 3.9) (push) Has been cancelled
Run tests / test_docs (3.13) (push) Has been cancelled
Run tests / test_sampleproject (3.13) (push) Has been cancelled

Add Google site verification meta tag support in MkDocs
This commit is contained in:
Emil Stenström 2025-08-23 08:13:57 +02:00 committed by GitHub
commit 1b35433017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

12
docs/overrides/main.html Normal file
View file

@ -0,0 +1,12 @@
{#
Theme override: inject Google site verification meta tag.
Uses documented extrahead block from Material for MkDocs.
If token changes, update in mkdocs.yml under extra.google_site_verification.
#}
{% extends "base.html" %}
{% block extrahead %}
{{ super() }}
{% if config.extra.google_site_verification %}
<meta name="google-site-verification" content="{{ config.extra.google_site_verification }}" />
{% endif %}
{% endblock %}

View file

@ -80,6 +80,7 @@ extra:
link: https://github.com/django-components/django-components link: https://github.com/django-components/django-components
- icon: fontawesome/brands/python - icon: fontawesome/brands/python
link: https://pypi.org/project/django-components/ link: https://pypi.org/project/django-components/
google_site_verification: vQA3d50F2ByQxG0eB6b0YoPnYW9gZo8xnd6HKhCyuys
markdown_extensions: markdown_extensions:
abbr: {} abbr: {}