aboutsummaryrefslogtreecommitdiff
path: root/docs/_layouts
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-03-02 18:19:01 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-03-02 18:19:01 -0800
commit55a4f11b5064650024bb13c68639665394c03a0c (patch)
treec69aa5b17e31e711a50820f327a5dbe1c58bb978 /docs/_layouts
parentc3f5e075335a65ea522b2f76716921ec056c52ed (diff)
downloadspark-55a4f11b5064650024bb13c68639665394c03a0c.tar.gz
spark-55a4f11b5064650024bb13c68639665394c03a0c.tar.bz2
spark-55a4f11b5064650024bb13c68639665394c03a0c.zip
Add Jekyll tag to isolate "production-only" doc components.
Author: Patrick Wendell <pwendell@gmail.com> Closes #56 from pwendell/jekyll-prod and squashes the following commits: 1bdc3a8 [Patrick Wendell] Add Jekyll tag to isolate "production-only" doc components.
Diffstat (limited to 'docs/_layouts')
-rwxr-xr-xdocs/_layouts/global.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html
index ebb58e8b9a..49fd78ca98 100755
--- a/docs/_layouts/global.html
+++ b/docs/_layouts/global.html
@@ -24,9 +24,9 @@
<link rel="stylesheet" href="css/pygments-default.css">
+ {% production %}
<!-- Google analytics script -->
<script type="text/javascript">
- /*
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32518208-1']);
_gaq.push(['_trackPageview']);
@@ -36,8 +36,8 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
- */
</script>
+ {% endproduction %}
</head>
<body>