diff --git a/website/themes/book/layouts/partials/docs/gitalk.html b/website/themes/book/layouts/partials/docs/gitalk.html index 28927cfa..0bd80aa0 100644 --- a/website/themes/book/layouts/partials/docs/gitalk.html +++ b/website/themes/book/layouts/partials/docs/gitalk.html @@ -12,7 +12,8 @@ admin: ['{{ .Site.Params.Gitalk.owner }}'], id: md5(location.pathname), // Ensure uniqueness and length less than 50 distractionFreeMode: false, // Facebook-like distraction free mode - body: location.href // GitHub issue body. + body: location.href, // GitHub issue body. + proxy: '{{ .Site.Params.Gitalk.proxy }}' // Gitalke proxy }); (function() { if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {