hexo
This commit is contained in:
10
themes/next/layout/_third-party/analytics/tencent-analytics.swig
vendored
Normal file
10
themes/next/layout/_third-party/analytics/tencent-analytics.swig
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{% if theme.tencent_analytics %}
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "//tajs.qq.com/stats?sId={{ theme.tencent_analytics }}";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
Reference in New Issue
Block a user