mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 07:26:47 +00:00
link 修复
This commit is contained in:
@@ -38,6 +38,12 @@ export const siteConfig = (key, defaultVal = null, extendConfig = {}) => {
|
|||||||
case 'TAG_SORT_BY_COUNT':
|
case 'TAG_SORT_BY_COUNT':
|
||||||
case 'THEME':
|
case 'THEME':
|
||||||
case 'LINK':
|
case 'LINK':
|
||||||
|
// LINK比较特殊,
|
||||||
|
if (key === 'LINK') {
|
||||||
|
if (!extendConfig || Object.keys(extendConfig).length === 0) {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
return convertVal(
|
return convertVal(
|
||||||
getValue(extendConfig[key], getValue(defaultVal, BLOG[key]))
|
getValue(extendConfig[key], getValue(defaultVal, BLOG[key]))
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default function BottomMenuBar({ post, className }) {
|
|||||||
onClick={togglePageNavVisible}
|
onClick={togglePageNavVisible}
|
||||||
className='inline-flex flex-col items-center justify-center px-5 border-gray-200 border-x hover:bg-gray-50 dark:hover:bg-gray-800 group dark:border-gray-600'>
|
className='inline-flex flex-col items-center justify-center px-5 border-gray-200 border-x hover:bg-gray-50 dark:hover:bg-gray-800 group dark:border-gray-600'>
|
||||||
<i className='fa-book fas w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-gray-600 dark:group-hover:text-gray-500' />
|
<i className='fa-book fas w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-gray-600 dark:group-hover:text-gray-500' />
|
||||||
<span class='text-sm text-gray-500 dark:text-gray-400 group-hover:text-gray-600 dark:group-hover:text-gray-500'>
|
<span className='text-sm text-gray-500 dark:text-gray-400 group-hover:text-gray-600 dark:group-hover:text-gray-500'>
|
||||||
{locale.COMMON.ARTICLE_LIST}
|
{locale.COMMON.ARTICLE_LIST}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user