Skip to content

Commit

Permalink
hexo 页脚
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Nov 23, 2024
1 parent c3685be commit cfde73f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/PoweredBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { siteConfig } from '@/lib/config'
export default function PoweredBy(props) {
return (
<div
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className}`}>
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className || ''}`}>
<span>Powered by</span>
<a
href='https://github.com/tangly1024/NotionNext'
Expand Down
2 changes: 1 addition & 1 deletion themes/hexo/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Footer = ({ title }) => {
<h1 className='text-xs pt-4 text-light-400 dark:text-gray-400'>
{title} {siteConfig('BIO') && <>|</>} {siteConfig('BIO')}
</h1>
<PoweredBy />
<PoweredBy className='justify-center' />
</span>
<br />
</footer>
Expand Down

0 comments on commit cfde73f

Please sign in to comment.