Skip to content

Commit 185f34d

Browse files
authored
Merge pull request #1944 from leviding/fix-gitment
fix #1943 fix the bug of gitment
2 parents a4b49e9 + e654501 commit 185f34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/_third-party/comments/gitment.swig

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<script type="text/javascript">
2424
function renderGitment(){
2525
var gitment = new {{CommentsClass}}({
26-
id: document.location.href,
26+
id: window.location.pathname,
2727
owner: '{{ theme.gitment.github_user }}',
2828
repo: '{{ theme.gitment.github_repo }}',
2929
{% if theme.gitment.mint %}

0 commit comments

Comments
 (0)