mirror of
https://github.com/pretix/pretix.git
synced 2026-08-11 10:57:00 +00:00
add hidden setting for google_site_verification
This commit is contained in:
@@ -85,6 +85,7 @@ def _default_context(request):
|
||||
else:
|
||||
pretix_settings = GlobalSettingsObject().settings
|
||||
|
||||
ctx['google_site_verification'] = pretix_settings.get('google_site_verification', as_type=str)
|
||||
text = pretix_settings.get('footer_text', as_type=LazyI18nString)
|
||||
link = pretix_settings.get('footer_link', as_type=LazyI18nString)
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
{% if social_image %}
|
||||
<meta property="og:image" content="{{ social_image }}" />
|
||||
{% endif %}
|
||||
{% if google_site_verification %}
|
||||
<meta name="google-site-verification" content="{{ google_site_verification }}" />
|
||||
{% endif %}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
{% block above %}
|
||||
|
||||
Reference in New Issue
Block a user