You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by yu...@apache.org on 2017/02/08 15:50:42 UTC

incubator-rocketmq-site git commit: Add baidu analytics

Repository: incubator-rocketmq-site
Updated Branches:
  refs/heads/master 0ae841523 -> 0b348ef85


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/0b348ef8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/0b348ef8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/0b348ef8

Branch: refs/heads/master
Commit: 0b348ef856eef2f802c57816678c9600fef88af3
Parents: 0ae8415
Author: yukon <yu...@apache.org>
Authored: Wed Feb 8 23:50:33 2017 +0800
Committer: yukon <yu...@apache.org>
Committed: Wed Feb 8 23:50:33 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/0b348ef8/_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/0b348ef8/_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