环境

  • hexo-theme-chenall

百度统计

1
2
3
4
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F9d0320e39bf03e6be5dc92bf235c8869' type='text/javascript'%3E%3C/script%3E"));
</script>
  • 修改hexo-theme-chenall\layout\_analytics\baidu.ejs
1
2
3
4
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F9d0320e39bf03e6be5dc92bf235c8869' type='text/javascript'%3E%3C/script%3E"));
</script>

留言