gitalk评论

This commit is contained in:
结发受长生
2018-06-07 00:18:33 +08:00
parent c77caf259f
commit 5abf999657
12 changed files with 39 additions and 46 deletions
@@ -1,16 +0,0 @@
<div id="gitment-ctn"></div>
<link rel="stylesheet" href="//imsun.github.io/gitment/style/default.css">
<script src="//imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
(function(){
new Gitment({
id: "<%=url%>",
owner: '<%=theme.gitment_owner%>',
repo: '<%=theme.gitment_repo%>',
oauth: {
client_id: '<%=theme.gitment_oauth.client_id%>',
client_secret: '<%=theme.gitment_oauth.client_secret%>'
}
}).render('gitment-ctn')
})()
</script>