From e6fb64621f7d74d61b6ec8524c1ca606196ba805 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Tue, 21 Mar 2017 15:45:36 +0100 Subject: [PATCH] Introducing GOOGLE_SITE_VERIFICATION Used for cross-verification on various Google sites (eg. YouTube) . By default it is not rendered in the pages. --- pillar/config.py | 2 ++ src/templates/layout.jade | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/pillar/config.py b/pillar/config.py index 835a0fac..e640da78 100644 --- a/pillar/config.py +++ b/pillar/config.py @@ -53,6 +53,8 @@ BIN_RSYNC = '/usr/bin/rsync' GCLOUD_APP_CREDENTIALS = 'google_app.json' GCLOUD_PROJECT = '-SECRET-' +# Used for cross-verification on various Google sites (eg. YouTube) +GOOGLE_SITE_VERIFICATION = '' ADMIN_USER_GROUP = '5596e975ea893b269af85c0e' SUBSCRIBER_USER_GROUP = '5596e975ea893b269af85c0f' diff --git a/src/templates/layout.jade b/src/templates/layout.jade index b4c47865..4b107859 100644 --- a/src/templates/layout.jade +++ b/src/templates/layout.jade @@ -8,6 +8,10 @@ html(lang="en") meta(name="author", content="Blender Institute") 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:locale", content="en_US") meta(name="twitter:card", content="summary_large_image")