Repository: incubator-rocketmq-site Updated Branches: refs/heads/asf-site c5b1c6c81 -> 4b96fde0f
Add baidu analytics Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/commit/8d32ccc0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/8d32ccc0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/8d32ccc0 Branch: refs/heads/asf-site Commit: 8d32ccc0f2dc9c32c92085187c1bb4cf12e5867d Parents: c5b1c6c Author: yukon <[email protected]> Authored: Wed Feb 8 23:50:33 2017 +0800 Committer: yukon <[email protected]> Committed: Wed Feb 8 23:51:01 2017 +0800 ---------------------------------------------------------------------- _includes/analytics-providers/baidu.html | 9 +++++++++ _includes/analytics.html | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/8d32ccc0/_includes/analytics-providers/baidu.html ---------------------------------------------------------------------- diff --git a/_includes/analytics-providers/baidu.html b/_includes/analytics-providers/baidu.html new file mode 100644 index 0000000..a583797 --- /dev/null +++ b/_includes/analytics-providers/baidu.html @@ -0,0 +1,9 @@ +<script> +var _hmt = _hmt || []; +(function() { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?36428f2b841d08e7405724cbf7f860d2"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); +})(); +</script> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/8d32ccc0/_includes/analytics.html ---------------------------------------------------------------------- diff --git a/_includes/analytics.html b/_includes/analytics.html index 64a3359..a8f27c0 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -8,5 +8,5 @@ {% when "custom" %} {% include /analytics-providers/custom.html %} {% endcase %} - +{% include /analytics-providers/baidu.html %} {% endif %} \ No newline at end of file
