From: Andrew Bonventre Date: Wed, 2 Aug 2017 20:31:46 +0000 (-0400) Subject: doc: hide video and share if being served from CN X-Git-Tag: go1.9rc2~1^2~20 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a8730cd93a;p=gostls13.git 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 --- 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