feat: allows gitalk to support multi-admins
This commit is contained in:
parent
5a88c73d48
commit
989cbfef5e
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue