fix: comment plugin will always be gitment if others are unset
parent
451198931d
commit
fb574207f9
|
@ -13,7 +13,11 @@
|
||||||
<section id="comments"><%- partial('comment/changyan') %></section>
|
<section id="comments"><%- partial('comment/changyan') %></section>
|
||||||
<% } else if (theme.comment.livere) { %>
|
<% } else if (theme.comment.livere) { %>
|
||||||
<section id="comments"><%- partial('comment/livere') %></section>
|
<section id="comments"><%- partial('comment/livere') %></section>
|
||||||
<% } else if (theme.comment.gitment) { %>
|
<% } else if (theme.comment.gitment &&
|
||||||
|
theme.comment.gitment.owner &&
|
||||||
|
theme.comment.gitment.repo &&
|
||||||
|
theme.comment.gitment.client_id &&
|
||||||
|
theme.comment.gitment.client_secret) { %>
|
||||||
<section id="comments"><%- partial('comment/gitment') %></section>
|
<section id="comments"><%- partial('comment/gitment') %></section>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
Loading…
Reference in New Issue