Skip to content

Commit cfde73f

Browse files
committed
hexo 页脚
1 parent c3685be commit cfde73f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/PoweredBy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { siteConfig } from '@/lib/config'
77
export default function PoweredBy(props) {
88
return (
99
<div
10-
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className}`}>
10+
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className || ''}`}>
1111
<span>Powered by</span>
1212
<a
1313
href='https://github.com/tangly1024/NotionNext'

themes/hexo/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Footer = ({ title }) => {
3535
<h1 className='text-xs pt-4 text-light-400 dark:text-gray-400'>
3636
{title} {siteConfig('BIO') && <>|</>} {siteConfig('BIO')}
3737
</h1>
38-
<PoweredBy />
38+
<PoweredBy className='justify-center' />
3939
</span>
4040
<br />
4141
</footer>

0 commit comments

Comments
 (0)