15 lines
444 B
Text
15 lines
444 B
Text
|
.disqus-comments
|
||
|
.comments
|
||
|
#disqus_thread
|
||
|
|
||
|
script.
|
||
|
var url_parts = window.location.href.split("?");
|
||
|
var disqus_url = url_parts[0];
|
||
|
(function () {
|
||
|
console.log("enter disqus");
|
||
|
var dsq = document.createElement('script');
|
||
|
dsq.type = 'text/javascript';
|
||
|
dsq.async = true;
|
||
|
dsq.src = "//#{theme.comment.id}.disqus.com/embed.js";
|
||
|
(document.head || d.body ).appendChild(dsq);
|
||
|
})();
|