{"action":"created","issue":{"url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/173","repository_url":"https://api.github.com/repos/tufu9441/maupassant-hexo","labels_url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/173/comments","events_url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/173/events","html_url":"https://github.com/tufu9441/maupassant-hexo/issues/173","id":178761078,"number":173,"title":"求助：给页脚添加站点的累积访问数","user":{"login":"aimer1124","id":5865980,"avatar_url":"https://avatars.githubusercontent.com/u/5865980?v=3","gravatar_id":"","url":"https://api.github.com/users/aimer1124","html_url":"https://github.com/aimer1124","followers_url":"https://api.github.com/users/aimer1124/followers","following_url":"https://api.github.com/users/aimer1124/following{/other_user}","gists_url":"https://api.github.com/users/aimer1124/gists{/gist_id}","starred_url":"https://api.github.com/users/aimer1124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aimer1124/subscriptions","organizations_url":"https://api.github.com/users/aimer1124/orgs","repos_url":"https://api.github.com/users/aimer1124/repos","events_url":"https://api.github.com/users/aimer1124/events{/privacy}","received_events_url":"https://api.github.com/users/aimer1124/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-23T01:23:09Z","updated_at":"2016-09-25T12:07:21Z","closed_at":null,"body":"想给`页脚`添加累积访问数，尝试修改`footer.jade`\r\n\r\n```\r\n#footer= '© '\r\n  if theme.busuanzi == true\r\n    script(src='https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js', async)\r\n    span#busuanzi_container_site_pv= ' | '\r\n      span#busuanzi_value_site_pv\r\n      span= ' ' + __('Hits')\r\n  a(href=url_for('.'), rel='nofollow')= config.title + '.'\r\n  |  Powered by\r\n  a(rel='nofollow', target='_blank', href='https://hexo.io')  Hexo.\r\n  a(rel='nofollow', target='_blank', href='https://github.com/tufu9441/maupassant-hexo')  Theme\r\n  |  by\r\n  a(rel='nofollow', target='_blank', href='https://github.com/pagecho')  Cho.\r\n\r\n```\r\n\r\n修改后，有两个问题：\r\n- 本地启动`hexo`服务后，首页会有一个访问量的显示，但数值`巨大`：839968，这个数应该不是我的页面访问数\r\n- 进入文章页面后，原来在标题下面的统计数也不显示了，页面底部的`总访问量`也没有了\r\n\r\n求助：如何给页面`底部`添加网站的总访问数，谢谢！\r\n"},"comment":{"url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/comments/249418023","html_url":"https://github.com/tufu9441/maupassant-hexo/issues/173#issuecomment-249418023","issue_url":"https://api.github.com/repos/tufu9441/maupassant-hexo/issues/173","id":249418023,"user":{"login":"tufu9441","id":6790361,"avatar_url":"https://avatars.githubusercontent.com/u/6790361?v=3","gravatar_id":"","url":"https://api.github.com/users/tufu9441","html_url":"https://github.com/tufu9441","followers_url":"https://api.github.com/users/tufu9441/followers","following_url":"https://api.github.com/users/tufu9441/following{/other_user}","gists_url":"https://api.github.com/users/tufu9441/gists{/gist_id}","starred_url":"https://api.github.com/users/tufu9441/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tufu9441/subscriptions","organizations_url":"https://api.github.com/users/tufu9441/orgs","repos_url":"https://api.github.com/users/tufu9441/repos","events_url":"https://api.github.com/users/tufu9441/events{/privacy}","received_events_url":"https://api.github.com/users/tufu9441/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T12:07:21Z","updated_at":"2016-09-25T12:07:21Z","body":"最近实在太忙了，没工夫打理……"}}
{"actor":{"display_login":"tufu9441"}}