-
Notifications
You must be signed in to change notification settings - Fork 617
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
hexo搭载gittalk如何做到不同文章评论区互不干扰,目前来看评论会在多个地址同时出现 #569
Comments
原来在使用github page部署的时候使用docsify也遇到这个问题,最后通过使得gitalk每个网页对象对应到唯一id解决 <script src="https://cdn.jsdelivr.net/gh/gangdong/gangdong.github.io@dev/assets/js/md5.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: ' ',
...
// your configuration
id: md5(location.pathname)
})
</script> 不太专业,见谅。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gitalk 版本
late
报错信息?
无
浏览器版本?
Google Chrome
复现步骤?
无
The text was updated successfully, but these errors were encountered: