Skip to content

Commit

Permalink
Merge pull request theme-next#504 from theme-next/dev
Browse files Browse the repository at this point in the history
Fixed Disqus bug if in permalink exists symbol «'» .
  • Loading branch information
ivan-nginx authored Dec 12, 2018
2 parents 8120968 + 16c001b commit 9cb09e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_third-party/comments/disqus.swig
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
{% if page.comments %}
<script>
var disqus_config = function () {
this.page.url = '{{ page.permalink }}';
this.page.identifier = '{{ page.path }}';
this.page.url = "{{ page.permalink }}";
this.page.identifier = "{{ page.path }}";
this.page.title = '{{ page.title| addslashes }}';
{% if __('disqus') !== 'disqus' -%}
this.language = '{{ __('disqus') }}';
Expand Down

0 comments on commit 9cb09e8

Please sign in to comment.