feat: allows gitalk to support multi-admins

This commit is contained in:
郭桓桓 2022-05-11 19:44:44 +08:00 committed by GitHub
parent 5a88c73d48
commit 989cbfef5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
clientSecret: '<%= theme.comment.gitalk.client_secret %>', clientSecret: '<%= theme.comment.gitalk.client_secret %>',
repo: '<%= theme.comment.gitalk.repository %>', repo: '<%= theme.comment.gitalk.repository %>',
owner: '<%= theme.comment.gitalk.github_id %>', owner: '<%= theme.comment.gitalk.github_id %>',
admin: ['<%= theme.comment.gitalk.github_id %>'], admin: <% if (theme.comment.gitalk.github_admins) { %><%= theme.comment.gitalk.github_admins %><% } else { %>['<%= theme.comment.gitalk.github_id %>']<% } %>,
id: __gitalk__pathname, id: __gitalk__pathname,
language: '<%= config.language %>' language: '<%= config.language %>'
}).render('gitalk-container'); }).render('gitalk-container');