换用valine评论

This commit is contained in:
结发受长生
2018-06-28 17:16:52 +08:00
parent 04142bf5b4
commit 9e44b10581
19 changed files with 404 additions and 64 deletions
@@ -25,7 +25,7 @@ new Gitalk({
admin: ['<%=theme.gitalk.adminUser%>'],
id: decodeURI(location.pathname),
distractionFreeMode: <%=theme.gitalk.distractionFreeMode%>
}).render('gittalk-container')
}).render('comments')
})(Gitalk)
</script>
<% } %>
+4 -5
View File
@@ -99,9 +99,8 @@
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</section>
<% }
if(theme.gitalk.enable || theme.valine.enable){ %>
<div id="comments" style="margin:0 30px; background-color:#fff; padding:0 10px"></div>
<% } %>
<% if(theme.gitalk.enable){ %>
<div id="gittalk-container" style="margin:0 30px"></div>
<% } %>
<% } %>
<% } %>
+4 -1
View File
@@ -1 +1,4 @@
<%- js('js/mobile.cfb38e2874478d984279.js') %> <%- js('js/slider.f9a33fdc5a046f675ae0.js') %> <%- js('js/main.34802c21ea4824f2ae00.js') %>
<%- js('js/main.47daecb9041cfca058ea.js') %>
<%- js('js/slider.ef2aa12e396cdf8555f9.js') %>
<%- js('js/mobile.97141e5b049f95a96735.js') %>
<%- js('js/comment.62251492e636f41e00f2.js') %>