Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用了你以前的老版本, 希望你增加站长工具的验证 #49

Open
Andrew-liu opened this issue Apr 25, 2015 · 4 comments
Open

Comments

@Andrew-liu
Copy link

非常感谢!

@Andrew-liu Andrew-liu changed the title 用了你以前的老版本, 希望你增加Latex的支持, 还有就是谷歌统计和站长工具的支持 用了你以前的老版本, 希望你增加站长工具的验证 Apr 25, 2015
@litten
Copy link
Owner

litten commented May 5, 2015

你好,Latex支持必须在hexo层级去做,然后这需求也比较少,大伙用markdown挺爽的…估计没人去实现了,抱歉呀。如果仅想使用Latex的公式编辑,已支持的mathjax方案可以替代之。

谷歌统计是已有可配置的功能,在_config.yml文件里面有google_analytics这项。

站长工具其实我一直在用,用的的是百度站长,但它提供的不是一个id,而是一段代码。这样写配置就比较纠结。你有比较好的方法吗?

<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?0b8e8ee87e4708173f00d9048c309301";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

@Andrew-liu
Copy link
Author

我用的谷歌站长工具, 可以使用CSS验证方法, 在主页中加入一段谷歌站长工具给定的CSS验证代码解决

@Andrew-liu
Copy link
Author

百度的可以设置 hm.src = "//hm.baidu.com/hm.js?后面的那段数字放在_config.yml中, 设置一个变量. 所有的代码都是一样的, 只有hm.src = "//hm.baidu.com/hm.js?后面的这船数字不同

@xiang578
Copy link

xiang578 commented Aug 1, 2015

还是不支持百度的啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants