🦀 修复gitalk 在非开启页面报错问题
This commit is contained in:
parent
239be7e35f
commit
dcded080e9
|
@ -7,6 +7,9 @@
|
|||
id:location.pathname,
|
||||
distractionFreeMode:false
|
||||
})
|
||||
gitalk.render('gitalk-container')
|
||||
|
||||
if(Boolean('<%= page.comments %>')){
|
||||
gitalk.render('gitalk-container')
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
Loading…
Reference in New Issue