请稍侯

整合disqus和jekyll,打造一个支持评论的blog

26 November 2015

##目录

##一、disqus 简介

Millions of people are talking about what they love on Disqus.

(很多人都在disqus上问题)

Everything from breaking news to science fiction.

(自己领会这句话)

##二、主要参考教程

adding disqus to jekyll这个大概介绍了怎么添加disqusjekyll

We were unable to load Disqus 里面介绍了,那些原因会导致添加disqus失败,

我是因为this.page.url设置导致失败的,this.page.url=window.location.href之后就OK了。

trust domain

trust domain 主要介绍如何把自己的github pages网址,设置到disqus信任的域名列表中,

不设置的话 会遇到We were unable to load Disqus 错误。

disqus configuration variables 介绍如何设置相关的变量值,比如 this.page.url等。

##三、总结

一定要认真阅读教程,按照理解教程的每一步。