Merged
Conversation
| {% if theme.cnzz_siteid %} | ||
|
|
||
| <div style="display: none;"> | ||
| <script src="http://s6.cnzz.com/stat.php?id=5160758&web_id={{ theme.cnzz_siteid }}" type="text/javascript"></script> |
Contributor
Author
There was a problem hiding this comment.
啊。。。报歉,我太马虎了。。。前面的id参数不影响统计,但最好还是改一下。。。
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目前国内使用CNZZ统计的还是比较多的,感觉还是有需要添加CNZZ的统计功能(百度统计暂时没有添加)。
在主题的配置文件中增加了一项
cnzz_siteid的配置项,值为CNZZ里面添加统计的站点ID,这个ID可以在地址栏里,或者自动生成的脚本里面找到。默认脚本生成的内容会产生“站长统计”几个字,感觉很丑而且和主题不太搭,我用了一个
display: none;把这几个字给隐藏了。