From 28846ddb222f47e8de7abcd60293768ea393da03 Mon Sep 17 00:00:00 2001 From: YDZ Date: Wed, 29 Jan 2020 20:08:07 +0800 Subject: [PATCH] change gitalk body --- website/themes/book/layouts/partials/docs/gitalk.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/themes/book/layouts/partials/docs/gitalk.html b/website/themes/book/layouts/partials/docs/gitalk.html index deba2045..c693d46b 100644 --- a/website/themes/book/layouts/partials/docs/gitalk.html +++ b/website/themes/book/layouts/partials/docs/gitalk.html @@ -10,7 +10,8 @@ owner: '{{ .Site.Params.Gitalk.owner }}', admin: ['{{ .Site.Params.Gitalk.owner }}'], id: location.pathname, // Ensure uniqueness and length less than 50 - distractionFreeMode: false // Facebook-like distraction free mode + distractionFreeMode: false, // Facebook-like distraction free mode + body: location.href // GitHub issue body. }); (function() { if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {