mirror of
https://github.com/apachecn/eloquent-js-3e-zh.git
synced 2025-05-25 13:32:20 +00:00
2020-11-23 14:50:44
This commit is contained in:
parent
c9b2b07fad
commit
d6f21672da
31
asset/docsify-apachecn-footer.js
Normal file
31
asset/docsify-apachecn-footer.js
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
(function(){
|
||||||
|
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>',
|
||||||
|
' <p><a href="https://github.com/apachecn/eloquent-js-3e-zh/" target="_blank">apachecn/eloquent-js-3e-zh</a></p>',
|
||||||
|
' <p><iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>',
|
||||||
|
' <iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>',
|
||||||
|
' <iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>',
|
||||||
|
' <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=bcee938030cc9e1552deb3bd9617bbbf62d3ec1647e4b60d9cd6b6e8f78ddc03"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="ML | ApacheCN" title="ML | ApacheCN"></a></p>',
|
||||||
|
' <p><span id="cnzz_stat_icon_1275211409"></span></p>',
|
||||||
|
' <div style="text-align:center;margin:0 0 10.5px;">',
|
||||||
|
' <ins class="adsbygoogle"',
|
||||||
|
' style="display:inline-block;width:728px;height:90px"',
|
||||||
|
' data-ad-client="ca-pub-3565452474788507"',
|
||||||
|
' data-ad-slot="2543897000"></ins>',
|
||||||
|
' </div>',
|
||||||
|
'</div>'
|
||||||
|
].join('\n')
|
||||||
|
var plugin = function(hook) {
|
||||||
|
hook.afterEach(function(html) {
|
||||||
|
return html + footer
|
||||||
|
})
|
||||||
|
hook.doneEach(function() {
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
var plugins = window.$docsify.plugins || []
|
||||||
|
plugins.push(plugin)
|
||||||
|
window.$docsify.plugins = plugins
|
||||||
|
})()
|
29
index.html
29
index.html
@ -18,35 +18,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app">now loading...</div>
|
<div id="app">now loading...</div>
|
||||||
<script id="footer" type="text/xml">
|
|
||||||
<hr/>
|
|
||||||
<div align="center">
|
|
||||||
<p><a href="http://www.apachecn.org/" target="_blank"><font face="KaiTi" size="6" color="red">我们一直在努力</font></a><p>
|
|
||||||
<p><a href="https://github.com/apachecn/eloquent-js-3e-zh/" target="_blank">apachecn/eloquent-js-3e-zh</a></p>
|
|
||||||
<p><iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
|
||||||
<iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
|
||||||
<iframe align="middle" src="https://ghbtns.com/github-btn.html?user=apachecn&repo=eloquent-js-3e-zh&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
|
||||||
<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=bcee938030cc9e1552deb3bd9617bbbf62d3ec1647e4b60d9cd6b6e8f78ddc03"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="ML | ApacheCN" title="ML | ApacheCN"></a></p>
|
|
||||||
<p><span id='cnzz_stat_icon_1275211409'></span></p>
|
|
||||||
<div style="text-align:center;margin:0 0 10.5px;">
|
|
||||||
<ins class="adsbygoogle"
|
|
||||||
style="display:inline-block;width:728px;height:90px"
|
|
||||||
data-ad-client="ca-pub-3565452474788507"
|
|
||||||
data-ad-slot="2543897000"></ins>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</script>
|
|
||||||
<script>
|
<script>
|
||||||
window.docsPlugin = function(hook) {
|
|
||||||
var footer = document.querySelector('#footer').innerHTML
|
|
||||||
hook.afterEach(function(html) {
|
|
||||||
return html + footer
|
|
||||||
})
|
|
||||||
hook.doneEach(function() {
|
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
loadSidebar: 'SUMMARY.md',
|
loadSidebar: 'SUMMARY.md',
|
||||||
name: 'JavaScript 编程精解中文第三版',
|
name: 'JavaScript 编程精解中文第三版',
|
||||||
@ -77,5 +49,6 @@
|
|||||||
<script src="asset/docsify-baidu-push.js"></script>
|
<script src="asset/docsify-baidu-push.js"></script>
|
||||||
<script src="asset/docsify-baidu-stat.js"></script>
|
<script src="asset/docsify-baidu-stat.js"></script>
|
||||||
<script src="asset/docsify-cnzz.js"></script>
|
<script src="asset/docsify-cnzz.js"></script>
|
||||||
|
<script src="asset/docsify-apachecn-footer.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user