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({
clientID: '{{- .clientID -}}',
clientSecret: '{{- .clientSecret -}}',
repo: '{{- .Gitalk.repo -}}',
repo: '{{- .repo -}}',
owner: '{{- .owner -}}',
admin: ['{{- .owner -}}'],
id: location.pathname, // Ensure uniqueness and length less than 50
admin: ['{{- .admin -}}'],
distractionFreeMode: false // Facebook-like distraction free mode
});
(function() {