mirror of
https://github.com/apachecn/ailearning.git
synced 2026-05-03 15:04:02 +08:00
添加评论系统
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
var cnzzId = window.$docsify.cnzzId
|
||||
var unRepo = window.$docsify.repo || ''
|
||||
var [un, repo] = unRepo.split('/')
|
||||
var footer = `
|
||||
var footer = `
|
||||
<hr/>
|
||||
<div align="center">
|
||||
<p><a href="http://www.apachecn.org/" target="_blank"><font face="KaiTi" size="6" color="red">我们一直在努力</font></a><p>
|
||||
@@ -12,7 +12,24 @@
|
||||
<p><a href="https://get.brightdata.com/apachecn" target="_blank"><img src="img/ad/partnerstack.gif" /></a><p>
|
||||
</div>
|
||||
<hr/>
|
||||
<div id="gitalk-container" ></div>
|
||||
<!-- 来必力City版安装代码 -->
|
||||
<div id="lv-container" data-id="city" data-uid="MTAyMC81ODA2NC8zNDUyNw==">
|
||||
<script type="text/javascript">
|
||||
(function(d, s) {
|
||||
var j, e = d.getElementsByTagName(s)[0];
|
||||
|
||||
if (typeof LivereTower === 'function') { return; }
|
||||
|
||||
j = d.createElement(s);
|
||||
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
|
||||
j.async = true;
|
||||
|
||||
e.parentNode.insertBefore(j, e);
|
||||
})(document, 'script');
|
||||
</script>
|
||||
<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
|
||||
</div>
|
||||
<!-- City版安装代码已完成 -->
|
||||
`
|
||||
var plugin = function(hook) {
|
||||
hook.afterEach(function(html) {
|
||||
@@ -20,8 +37,6 @@
|
||||
})
|
||||
hook.doneEach(function() {
|
||||
(adsbygoogle = window.adsbygoogle || []).push({})
|
||||
new Gitalk(window.$docsify.gitalk)
|
||||
.render(window.$docsify.gitalk.container)
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
|
||||
Reference in New Issue
Block a user