From adc447882ecfa41b704bfc9c3257116ca208a397 Mon Sep 17 00:00:00 2001 From: duval Date: Tue, 7 Sep 2021 11:11:25 +0800 Subject: use md5 fixes #507 --- layouts/partials/post/comment.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') })() -- cgit v1.2.3