Introducing GOOGLE_SITE_VERIFICATION

Used for cross-verification on various Google sites (eg. YouTube) . By default it is not rendered in the pages.
This commit is contained in:
Francesco Siddi 2017-03-21 15:45:36 +01:00
parent fde50f6525
commit e6fb64621f
2 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,8 @@ BIN_RSYNC = '/usr/bin/rsync'
GCLOUD_APP_CREDENTIALS = 'google_app.json' GCLOUD_APP_CREDENTIALS = 'google_app.json'
GCLOUD_PROJECT = '-SECRET-' GCLOUD_PROJECT = '-SECRET-'
# Used for cross-verification on various Google sites (eg. YouTube)
GOOGLE_SITE_VERIFICATION = ''
ADMIN_USER_GROUP = '5596e975ea893b269af85c0e' ADMIN_USER_GROUP = '5596e975ea893b269af85c0e'
SUBSCRIBER_USER_GROUP = '5596e975ea893b269af85c0f' SUBSCRIBER_USER_GROUP = '5596e975ea893b269af85c0f'

View File

@ -8,6 +8,10 @@ html(lang="en")
meta(name="author", content="Blender Institute") meta(name="author", content="Blender Institute")
meta(name="theme-color", content="#3e92aa") meta(name="theme-color", content="#3e92aa")
| {% if config['GOOGLE_SITE_VERIFICATION'] %}
meta(name="google-site-verification" content="{{ config['GOOGLE_SITE_VERIFICATION'] }}")
| {% endif %}
meta(property="og:site_name", content="Blender Cloud") meta(property="og:site_name", content="Blender Cloud")
meta(property="og:locale", content="en_US") meta(property="og:locale", content="en_US")
meta(name="twitter:card", content="summary_large_image") meta(name="twitter:card", content="summary_large_image")