diff options
author | Yong-Siang Shih <shaform@gmail.com> | 2018-09-18 08:04:45 +0300 |
---|---|---|
committer | Chen Xianmin <xianmin12@gmail.com> | 2018-09-18 08:04:45 +0300 |
commit | 9ae922687d8404f25d74c1f0f71b7a35ad26844d (patch) | |
tree | e83200e3850c9fc5104caae3357b9fc68cd5dbca | |
parent | 2ee65764cd7e06fe5ea19c2b4f3774ac05b615d0 (diff) |
don't split threads when query parameters exist (#122)
-rw-r--r-- | layouts/partials/comments.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 7bd2512..23de5d2 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -65,6 +65,9 @@ </div> <div id="disqus_thread"></div> <script type="text/javascript"> + var disqus_config = function () { + this.page.url = {{ .Permalink }}; + }; function load_disqus() { // Don't ever inject Disqus on localhost--it creates unwanted // discussions from 'localhost:1313' on your Disqus account... |