From bd35ca8217215920e4dd7cde76b045dedb509d16 Mon Sep 17 00:00:00 2001 From: wizardforcel <562826179@qq.com> Date: Mon, 23 Nov 2020 14:50:27 +0800 Subject: [PATCH] 2020-11-23 14:50:27 --- asset/docsify-apachecn-footer.js | 31 +++++++++++++++++++++++++++++++ index.html | 29 +---------------------------- 2 files changed, 32 insertions(+), 28 deletions(-) create mode 100644 asset/docsify-apachecn-footer.js diff --git a/asset/docsify-apachecn-footer.js b/asset/docsify-apachecn-footer.js new file mode 100644 index 0000000..6dfd4ed --- /dev/null +++ b/asset/docsify-apachecn-footer.js @@ -0,0 +1,31 @@ +(function(){ + var footer = [ + '
', + '
', + '

我们一直在努力

', + '

apachecn/elasticsearch-doc-zh

', + '

', + ' ', + ' ', + ' ML | ApacheCN

', + '

', + '
', + ' ', + '
', + '
' + ].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 +})() \ No newline at end of file diff --git a/index.html b/index.html index b3ee240..1f2d649 100644 --- a/index.html +++ b/index.html @@ -18,35 +18,7 @@
now loading...
- + \ No newline at end of file -- GitLab