Merge pull request #88 from arcestia/patch-1

fix disqus not load
This commit is contained in:
Dean Attali 2016-08-21 10:48:56 -07:00 committed by GitHub
commit a855146474

View File

@ -3,7 +3,7 @@
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<script type="text/javascript"> <script type="text/javascript">
var disqus_shortname = '{{ site.disqus }}'; var disqus_shortname = '{{ site.disqus }}';
// ensure that pages with query string get the same discussion /* ensure that pages with query string get the same discussion */
var url_parts = window.location.href.split("?"); var url_parts = window.location.href.split("?");
var disqus_url = url_parts[0]; var disqus_url = url_parts[0];
(function() { (function() {