diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index a1e3829..9e710b2 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -156,6 +156,7 @@ params: repo: clientID: clientSecret: + proxy: cusdis: host: diff --git a/layouts/partials/comments/provider/gitalk.html b/layouts/partials/comments/provider/gitalk.html index 95ca133..54bfcba 100644 --- a/layouts/partials/comments/provider/gitalk.html +++ b/layouts/partials/comments/provider/gitalk.html @@ -15,6 +15,7 @@ admin: ["{{- .admin -}}"], distractionFreeMode: false, // Facebook-like distraction free mode id: md5(location.pathname), // Max Location.pathname Legth:75 https://github.com/gitalk/gitalk/issues/102 + proxy: {{- .proxy -}}, }); (function () { if (