diff --git a/js/ditto.js b/js/ditto.js index 291b5b9..d023590 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -203,9 +203,9 @@ function router() { function loadDisqus() { // http://docs.disqus.com/help/2/ window.disqus_shortname = 'es6'; - window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'index'); + window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'READEME'); window.disqus_title =$(ditto.content_id+" h1").text(); - window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'index'); + window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'README'); // http://docs.disqus.com/developers/universal/ (function() {