mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-16 23:16:48 +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 'THEME':
|
||||
case 'LINK':
|
||||
// LINK比较特殊,
|
||||
if (key === 'LINK') {
|
||||
if (!extendConfig || Object.keys(extendConfig).length === 0) {
|
||||
break
|
||||
}
|
||||
}
|
||||
return convertVal(
|
||||
getValue(extendConfig[key], getValue(defaultVal, BLOG[key]))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user