We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
有可能一个文章会有多个URL可以访问到,比如:
http://my-site/page https://my-site/page http://www.my-site/page https://www.my-site/page
默认情况下,畅言认为这些是不同的页面。 根据 畅言的文档 http://changyan.kuaizhan.com/static/help/f-source-id.html 我们可以给文章加一个sid,这样即使用不同的URL访问,看到的内容也是一样的。
我觉得很容易修改,只需要改一下 layouts/partials/comments.html,22行变成 <div id="SOHUCS" sid="{{ .URL }}"></div>
<div id="SOHUCS" sid="{{ .URL }}"></div>
我简单地测试过了,可以用的。
The text was updated successfully, but these errors were encountered:
欢迎 PR 😃
Sorry, something went wrong.
#133
cd7f705
feat(comment): added sid for Changyan comments (olOwOlo#133)
0687986
Closes olOwOlo#121
No branches or pull requests
有可能一个文章会有多个URL可以访问到,比如:
http://my-site/page
https://my-site/page
http://www.my-site/page
https://www.my-site/page
默认情况下,畅言认为这些是不同的页面。
根据 畅言的文档 http://changyan.kuaizhan.com/static/help/f-source-id.html
我们可以给文章加一个sid,这样即使用不同的URL访问,看到的内容也是一样的。
我觉得很容易修改,只需要改一下 layouts/partials/comments.html,22行变成
<div id="SOHUCS" sid="{{ .URL }}"></div>
我简单地测试过了,可以用的。
The text was updated successfully, but these errors were encountered: