diff --git a/languages/en.yml b/languages/en.yml index a1b703e1..07a72fa 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -49,8 +49,8 @@ donate: buymeacoffee: 'Buy me a coffee' plugin: backtotop: 'Back to top' - visit_count: '%s visits' - visitor_count: 'Visited by %s users' + visit_count: ' Site PV: %s ' + visitor_count: 'Site UV: %s ' cookie_consent: message: This website uses cookies to improve your experience. dismiss: Got it! diff --git a/layout/common/footer.jsx b/layout/common/footer.jsx index fcdecd9..bf6d75a 100644 --- a/layout/common/footer.jsx +++ b/layout/common/footer.jsx @@ -31,13 +31,8 @@ class Footer extends Component {
- Powered by Hexo &
- Icarus
{showVisitorCounter ?
: null}
{showVisitorCounter ? : null}
@@ -88,6 +83,6 @@ module.exports = cacheComponent(Footer, 'common.footer', props => {
links,
copyright: footer?.copyright ?? '',
showVisitorCounter: plugins && plugins.busuanzi === true,
- visitorCounterTitle: _p('plugin.visitor_count', '0')
+ visitorCounterTitle: _p('plugin.visitor_count', '0') + _p('plugin.visit_count', '0')
};
});