style(footer): change the footer version to a fixed value
This commit is contained in:
parent
44f7a72b77
commit
af199b088b
|
@ -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>') %> | <%- __('theme') %>
|
||||
|
||||
<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">
|
||||
|
|
|
@ -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;`
|
||||
|
|
Loading…
Reference in New Issue