From a8730cd93a6731a14519902ccfed604971d3e8dc Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Wed, 2 Aug 2017 16:31:46 -0400 Subject: [PATCH] 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 --- 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