mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
HEO 一点点优化
This commit is contained in:
@@ -132,6 +132,11 @@ const Header = props => {
|
||||
}
|
||||
`}</style>
|
||||
|
||||
{/* fixed时留白高度 */}
|
||||
{fixedNav && !document?.querySelector('#post-bg') && (
|
||||
<div className='h-16'></div>
|
||||
)}
|
||||
|
||||
{/* 顶部导航菜单栏 */}
|
||||
<nav
|
||||
id='nav'
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function PostHeader({ post, siteInfo, isDarkMode }) {
|
||||
id='post-info'
|
||||
className='absolute top-48 z-10 flex flex-col space-y-4 lg:-mt-12 w-full max-w-[86rem] px-5'>
|
||||
{/* 分类+标签 */}
|
||||
<div className='flex justify-center md:justify-start items-center'>
|
||||
<div className='flex justify-center md:justify-start items-center gap-4'>
|
||||
{post.category && (
|
||||
<>
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user