diff options
author | Thibaud Lepretre <thibaud.lepretre@gmail.com> | 2021-09-07 09:59:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 09:59:39 +0300 |
commit | 2dd1e58afa5366d48fb450d705b3c42df4327261 (patch) | |
tree | fc7b8f4c8ad0bcd5f6ab75d46c5d81024091faa4 | |
parent | bdf49d0056f52b6535f3d055e85f68466229cba3 (diff) | |
parent | adc447882ecfa41b704bfc9c3257116ca208a397 (diff) |
Merge pull request #508 from duval1024/feature/decode_uri
fix long id in gitalk
-rw-r--r-- | layouts/partials/post/comment.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post/comment.html b/layouts/partials/post/comment.html index 66858f9..5a67988 100644 --- a/layouts/partials/post/comment.html +++ b/layouts/partials/post/comment.html @@ -42,7 +42,7 @@ repo: '{{ .Site.Params.comment.gitalk.repo }}', owner: '{{ .Site.Params.comment.gitalk.owner }}', admin: ['{{ .Site.Params.comment.gitalk.owner }}'], - id: '{{ .RelPermalink }}', + id: '{{ md5 .RelPermalink }}', ...{{ .Site.Params.comment.gitalk.options | jsonify | safeJS }} }).render('gitalk') })() |