fix: hexo heo主题下,无BLOG.BIO时,隐藏|

This commit is contained in:
LooseLi
2023-07-24 12:04:27 +08:00
parent 87187b7f7f
commit 6aa6ecbabd
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ const Footer = ({ title }) => {
<i className='fas fa-eye'/><span className='px-1 busuanzi_value_site_pv'> </span> </span>
<span className='pl-2 hidden busuanzi_container_site_uv'>
<i className='fas fa-users'/> <span className='px-1 busuanzi_value_site_uv'> </span> </span>
<h1 className='text-xs pt-4 text-light-400 dark:text-gray-400'>{title} | {BLOG.BIO}</h1>
<h1 className='text-xs pt-4 text-light-400 dark:text-gray-400'>{title} {BLOG.BIO && <>|</>} {BLOG.BIO}</h1>
<p className='text-xs pt-2 text-light-500 dark:text-gray-500'>Powered by <a href='https://github.com/tangly1024/NotionNext' className='dark:text-gray-300'>NotionNext {BLOG.VERSION}</a>.</p></span><br/>
</footer>