mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
nobelium-title
This commit is contained in:
@@ -14,7 +14,7 @@ import { SvgIcon } from './SvgIcon'
|
||||
* 顶部导航
|
||||
*/
|
||||
const Nav = props => {
|
||||
const { navBarTitle, fullWidth, siteInfo } = props
|
||||
const { post, fullWidth, siteInfo } = props
|
||||
const autoCollapseNavBar = siteConfig(
|
||||
'NOBELIUM_AUTO_COLLAPSE_NAV_BAR',
|
||||
true,
|
||||
@@ -66,9 +66,9 @@ const Nav = props => {
|
||||
)}
|
||||
</div>
|
||||
</Link>
|
||||
{navBarTitle ? (
|
||||
{post ? (
|
||||
<p className='ml-2 font-medium text-gray-800 dark:text-gray-300 header-name'>
|
||||
{navBarTitle}
|
||||
{post?.title}
|
||||
</p>
|
||||
) : (
|
||||
<p className='ml-2 font-medium text-gray-800 dark:text-gray-300 header-name whitespace-nowrap'>
|
||||
|
||||
Reference in New Issue
Block a user