From 6c733cd93b032a95dfff15430f8f6c4e107cfab3 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Wed, 2 Aug 2017 16:31:46 -0400 Subject: [PATCH] [release-branch.go1.8] doc: hide video and share if being served from CN In the case where requests are coming from mainland China, hide links to locations that are blocked and functionality that is not permitted. Additionally, some very small cleanup of the JS. This change requires https://go-review.googlesource.com/c/52873 Change-Id: I7fc68748e629dbe5b966d6bf117e7f7b546966eb Reviewed-on: https://go-review.googlesource.com/52872 Reviewed-by: Chris Broadfoot Reviewed-on: https://go-review.googlesource.com/81095 Reviewed-by: Russ Cox --- doc/root.html | 155 ++++++++++++++++++++++++++------------------------ 1 file changed, 82 insertions(+), 73 deletions(-) diff --git a/doc/root.html b/doc/root.html index 27dbc74ab6..0b3c74954b 100644 --- a/doc/root.html +++ b/doc/root.html @@ -6,7 +6,9 @@
+{{if not $.GoogleCN}} +{{end}}
Try Go