From af199b088b1c3bb0fe2d08ec026261d7d4d6b727 Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 29 Sep 2022 22:48:05 +0800 Subject: [PATCH] style(footer): change the footer version to a fixed value --- layout/_partial/footer.ejs | 2 +- source/js/main.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 49ee7f9..5fe912a 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -36,7 +36,7 @@ const { site_uv: bsz_site_uv, site_pv: bsz_site_pv, enable: bsz_enable } = theme
<%- __('powered_by', 'Hexo') %> | <%- __('theme') %>   - Keep + Keep v3.4.7
<% if (f_icp) { %>
diff --git a/source/js/main.js b/source/js/main.js index c5c7cef..0eb149a 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -20,8 +20,6 @@ window.addEventListener('DOMContentLoaded', () => { // print theme base info KEEP.printThemeInfo = () => { - const footerVersion = document.querySelector('.footer .theme-version'); - footerVersion && (footerVersion.innerHTML = KEEP.themeInfo.theme); console.log( `\n %c ${KEEP.themeInfo.theme} %c ${KEEP.themeInfo.repository} \n`, `color: #fadfa3; background: #333; padding: 6px 0;`, `padding: 6px 0;`