Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Try pjax
  • Loading branch information
wangjiezhe authored Dec 13, 2019
1 parent f0d46cf commit 4c1cae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ hexo.extend.filter.register('theme_inject', injects => {
injects.comment.raw('discussbot', `
{% if page.comments %}
<div class="comments" id="discussbot-container">
<script async src="https://comments.app/js/widget.js?2" data-comments-app-website="${config.siteid}" data-limit="${config.number}" data-color="${config.color}" data-dislikes="${config.dislikes}" data-outlined="${config.outlined}"></script>
<script{{ pjax }} async src="https://comments.app/js/widget.js?2" data-comments-app-website="${config.siteid}" data-limit="${config.number}" data-color="${config.color}" data-dislikes="${config.dislikes}" data-outlined="${config.outlined}"></script>
</div>
{% endif %}
`);
Expand Down

0 comments on commit 4c1cae4

Please sign in to comment.