This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push: new 796151e style: adjsut Netlify position (#808) 796151e is described below commit 796151e591fcbb32740f7678e83628a07ee5718c Author: 琚致远 <juzhiy...@apache.org> AuthorDate: Mon Dec 13 10:44:06 2021 +0800 style: adjsut Netlify position (#808) --- website/config/ssrTemplate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/config/ssrTemplate.js b/website/config/ssrTemplate.js index e7e2ea8..b3c1361 100644 --- a/website/config/ssrTemplate.js +++ b/website/config/ssrTemplate.js @@ -34,8 +34,8 @@ module.exports = { <script> window.onload = function() { if (window.location.host.endsWith(".netlify.app")) { - var footerDOM = document.querySelector('footer'); - footerDOM.insertAdjacentHTML('afterend', '<div style="text-align: right;padding: 48px 0;">This site is powered by <a href="https://www.netlify.com/" target="_blank">Netlify</a></div>'); + var dom = document.querySelector("#__docusaurus"); + dom.insertAdjacentHTML('afterend', '<div style="text-align: right;padding: 48px 32px 48px 0;">This site is powered by <a href="https://www.netlify.com/" target="_blank">Netlify</a></div>'); } } </script>