fix(footer): fixed footer may be null or undefined……
parent
f0c01a615b
commit
df99616134
|
@ -86,7 +86,7 @@ module.exports = cacheComponent(Footer, 'common.footer', props => {
|
||||||
siteYear: date(new Date(), 'YYYY'),
|
siteYear: date(new Date(), 'YYYY'),
|
||||||
author,
|
author,
|
||||||
links,
|
links,
|
||||||
copyright: footer.copyright,
|
copyright: footer?.copyright ?? '',
|
||||||
showVisitorCounter: plugins && plugins.busuanzi === true,
|
showVisitorCounter: plugins && plugins.busuanzi === true,
|
||||||
visitorCounterTitle: _p('plugin.visitor_count', '<span id="busuanzi_value_site_uv">0</span>')
|
visitorCounterTitle: _p('plugin.visitor_count', '<span id="busuanzi_value_site_uv">0</span>')
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue