Skip to content

Commit

Permalink
Merge pull request #1597 from uchuhimo/fix-livere
Browse files Browse the repository at this point in the history
fix: LiveRe's loading conditions fail due to breaking changes of Disqus settings
  • Loading branch information
iissnan authored Apr 19, 2017
2 parents f6d24ae + 4ea0414 commit 6a93e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_third-party/comments/livere.swig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if not (theme.duoshuo and theme.duoshuo.shortname) and not theme.duoshuo_shortname and not theme.disqus_shortname and not theme.hypercomments_id and not theme.gentie_productKey %}
{% if not (theme.duoshuo and theme.duoshuo.shortname) and not theme.duoshuo_shortname and not (theme.disqus.enable and theme.disqus.shortname) and not theme.hypercomments_id and not theme.gentie_productKey %}

{% if theme.livere_uid %}
{% if page.comments and theme.livere_uid %}
<script type="text/javascript">
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];
Expand Down

0 comments on commit 6a93e06

Please sign in to comment.