Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14740c6 commit eafda77Copy full SHA for eafda77
asset/docsify-baidu-push.js
@@ -0,0 +1,13 @@
1
+(function(){
2
+ var plugin = function(hook) {
3
+ hook.doneEach(function() {
4
+ new Image().src =
5
+ '//api.share.baidu.com/s.gif?r=' +
6
+ encodeURIComponent(document.referrer) +
7
+ "&l=" + encodeURIComponent(location.href)
8
+ })
9
+ }
10
+ var plugins = window.$docsify.plugins || []
11
+ plugins.push(plugin)
12
+ window.$docsify.plugins = plugins
13
+})()
index.html
@@ -85,5 +85,6 @@
85
<script src="asset/search.min.js"></script>
86
<script src="asset/prism-python.min.js"></script>
87
<script src="asset/docsify-copy-code.min.js"></script>
88
+ <script src="asset/docsify-baidu-push.js"></script>
89
</body>
90
</html>
0 commit comments