gittalk Fixed

This commit is contained in:
Cookiekira 2021-09-12 21:25:07 +08:00
parent f1e16cea59
commit 29706856ea

View File

@ -7,10 +7,9 @@
const gitalk = new Gitalk({ const gitalk = new Gitalk({
clientID: '{{- .clientID -}}', clientID: '{{- .clientID -}}',
clientSecret: '{{- .clientSecret -}}', clientSecret: '{{- .clientSecret -}}',
repo: '{{- .Gitalk.repo -}}', repo: '{{- .repo -}}',
owner: '{{- .owner -}}', owner: '{{- .owner -}}',
admin: ['{{- .owner -}}'], admin: ['{{- .admin -}}'],
id: location.pathname, // Ensure uniqueness and length less than 50
distractionFreeMode: false // Facebook-like distraction free mode distractionFreeMode: false // Facebook-like distraction free mode
}); });
(function() { (function() {