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

你好 请问怎么添加友言 评论? #33

Closed
CodeK1988 opened this issue Apr 5, 2017 · 6 comments
Closed

你好 请问怎么添加友言 评论? #33

CodeK1988 opened this issue Apr 5, 2017 · 6 comments

Comments

@CodeK1988
Copy link

CodeK1988 commented Apr 5, 2017

<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=2129113"></script> 在文章部分加了 怎么不显示? 预览 是正常的 线上部署不显示。 谢谢
@stiekel
Copy link
Owner

stiekel commented Apr 13, 2017

不需要添加 script 引入,主题本身已经支持了。
直接在 hexo 的主配置文件中,增加 uyan_id 配置即可,如下:

uyan_id: 206xxxx

@stiekel stiekel closed this as completed Jul 13, 2017
@prosscode
Copy link

添加uyan_id,实测并没有显示。

@stiekel
Copy link
Owner

stiekel commented Apr 10, 2018

@prosscode 可以把我的站点的 repo 发我看看吗

@prosscode
Copy link

@stiekel
友言ID截图:
image
主题站点配置:
image
博客效果:http://pross.space/2018/LeetCode-Palindrome-Number-9/

@stiekel
Copy link
Owner

stiekel commented Apr 13, 2018

@prosscode 我刚刚测试了一下,是可以的,就是使用你提供的 id
image

@prosscode
Copy link

@stiekel 是的,直接添加有效。
是我配置的问题。全局_config.yml配置中关闭了评论。

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