Skip to content

Commit

Permalink
edit disqus.html
Browse files Browse the repository at this point in the history
  • Loading branch information
yayyz committed Feb 16, 2019
1 parent a22b362 commit aa7ebf3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _includes/comments-providers/disqus.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{%- if page.key and
site.comments.disqus.shortname -%}
{%- if site.comments.disqus.shortname -%}

<div id="disqus_thread"></div>
<script>
Expand All @@ -8,8 +7,8 @@
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
var disqus_config = function () {
this.page.url = '{%- include snippets/page-url.html -%}';
this.page.identifier = '{{ page.key }}';
// this.page.identifier = '{{ page.url | absolute_url }}';
// this.page.identifier = '{{ page.key }}';
this.page.identifier = '{%- include snippets/page-url.html -%}';
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
Expand Down

0 comments on commit aa7ebf3

Please sign in to comment.