Skip to content

Commit 5416002

Browse files
robberphexzkqiang
authored andcommitted
🐛 Disqus Url 参数
1 parent b686595 commit 5416002

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layout/_partials/comments/disqus.ejs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
shortname: '<%= theme.disqus.shortname %>',
1111
apikey: <%- JSON.stringify(theme.disqus.apikey) %>,
1212
api: '<%= theme.disqus.api %>',
13+
url: '<%= page.permalink %>',
14+
identifier: '<%= url_for(page.path) %>',
1315
admin: '<%= theme.disqus.admin %>',
1416
adminLabel: '<%= theme.disqus.adminLabel %>'
1517
});

0 commit comments

Comments
 (0)