4

博客支持评论

 3 years ago
source link: http://quangelab.com/blog-disqus/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
博客支持评论 – ruquan.z – github技术博客,成长在于积累。

博客支持评论

一直想给自己的博客加个评论,方便交流,今天终于抽出时间搞一下,如果顺利的话就不会有这篇博客了。下面看我遇到的坑。

我选的是Disqus

注册账号什么的就不说了,说说评论的设置

https://quangeblog.disqus.com/admin/settings/advanced/ 这个页面下一定要设置Trusted Domains,即哪些网站可以用你的评论功能,如果不设置的话是用不了的。

然后就是博客项目里的_config.yml文件的配置了

# Enter your Disqus shortname (not your username) to enable commenting on posts
# You can find your shortname on the Settings page of your Disqus account
disqus: quangeblog

##注意key和value 中间一定要隔一个空格,否则显示不了评论

Written on March 24, 2016

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK