Skip to content

Commit 4cf55db

Browse files
author
qiang.sun
committed
修改disqus评论框域名获取方式
1 parent 2cc895d commit 4cf55db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/blog/partials/disqus.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<script>
33
var disqus_config = function () {
44
this.page.url = '{{ config('app.url') }}/blog/{{ $post->slug }}';
5-
this.page.identifier = 'blog-{{ $post->slug }}';
5+
this.page.identifier = 'post-{{ $post->slug }}';
66
};
77
(function () { // DON'T EDIT BELOW THIS LINE
88
var d = document, s = d.createElement('script');

0 commit comments

Comments
 (0)