style(footer): change the footer version to a fixed value

This commit is contained in:
XPoet 2022-09-29 22:48:05 +08:00
parent 44f7a72b77
commit af199b088b
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@ const { site_uv: bsz_site_uv, site_pv: bsz_site_pv, enable: bsz_enable } = theme
<div class="theme-info info-item">
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %>
&nbsp;
<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep</a>
<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.4.7</a>
</div>
<% if (f_icp) { %>
<div class="icp-info info-item">

View File

@ -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;`