From 306c71e9490e980f92a14b628d713a0bcc283b57 Mon Sep 17 00:00:00 2001 From: Koy Zhuang <369491420@qq.com> Date: Wed, 26 Oct 2022 22:36:01 +0800 Subject: [PATCH] Revert "chore: update vercel logo (#1776)" This reverts commit f8719e59d4a47f6ab73bb832396464140907306a. --- README.md | 4 +++- docs/README.md | 6 ++++++ docs/_media/powered-by-vercel.svg | 6 ------ docs/index.html | 11 ++++++++++- index.html | 3 +-- 5 files changed, 20 insertions(+), 10 deletions(-) delete mode 100644 docs/_media/powered-by-vercel.svg diff --git a/README.md b/README.md index 069b09109e..bd93206c3c 100644 --- a/README.md +++ b/README.md @@ -124,4 +124,6 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks -A preview of Docsify's PR and develop branch is Powered by Vercel +_Vercel_ has given us a Pro account. + + diff --git a/docs/README.md b/docs/README.md index 63770a4e65..562446de58 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,3 +30,9 @@ Please consider donating if you think docsify is helpful to you or that my work ## Community Users and the development team are usually in the [Discord server](https://discord.gg/3NwKFyR). + +## Special Thanks + +_Vercel_ has given us a Pro account. + + diff --git a/docs/_media/powered-by-vercel.svg b/docs/_media/powered-by-vercel.svg deleted file mode 100644 index 8778286845..0000000000 --- a/docs/_media/powered-by-vercel.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/docs/index.html b/docs/index.html index e8ed4f1564..6e172574ab 100644 --- a/docs/index.html +++ b/docs/index.html @@ -197,7 +197,16 @@ '\n\n----\n\n' + 'Powered by docsify' ); - }) + }), + hook.afterEach(function (html) { + if (vm.route.path === '/') { + return html; + } + return ( + html + + '
Vercel has given us a Pro account
Vercel' + ); + }); }, ], }; diff --git a/index.html b/index.html index 1e112b2338..b8e2fa011a 100644 --- a/index.html +++ b/index.html @@ -106,8 +106,7 @@ editHtml + html + '\n\n----\n\n' + - 'Powered by docsify\n\n' + - 'Vercel' + 'Powered by docsify' ); }); },