commit
f316f865cd
|
@ -173,6 +173,7 @@ comment:
|
|||
# See: https://github.com/gitalk/gitalk
|
||||
gitalk:
|
||||
github_id: # GitHub repo owner
|
||||
github_admins: # GitHub Admins (in Array type), optional.
|
||||
repository: # Repository name to store issues
|
||||
client_id: # GitHub Application Client ID
|
||||
client_secret: # GitHub Application Client Secret
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
clientSecret: '<%= theme.comment.gitalk.client_secret %>',
|
||||
repo: '<%= theme.comment.gitalk.repository %>',
|
||||
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,
|
||||
language: '<%= config.language %>'
|
||||
}).render('gitalk-container');
|
||||
|
|
Loading…
Reference in New Issue