heo 广告微调

This commit is contained in:
tangly1024.com
2024-02-19 11:51:39 +08:00
parent 461f6f312c
commit bfcca16a86
3 changed files with 13 additions and 14 deletions

View File

@@ -38,6 +38,8 @@ export default function SideRight(props) {
<InfoCard {...props} className='w-72' />
<div className='sticky top-20 space-y-4'>
{/* 文章页显示目录 */}
{post && post.toc && post.toc.length > 0 && (
<Card className='bg-white dark:bg-[#1e1e1e]'>
<Catalog toc={post.toc} />