mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
feat: add Google site verification meta tag support in MkDocs configuration
This commit is contained in:
parent
3a7ca44c9b
commit
dbccd5d7d3
2 changed files with 13 additions and 0 deletions
12
docs/overrides/main.html
Normal file
12
docs/overrides/main.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue