mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
INLINE_CONFIG
This commit is contained in:
@@ -162,7 +162,15 @@ export async function getConfigMapFromConfigPage(allPages) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return notionConfig
|
||||
|
||||
|
||||
// 将INLINE_CONFIG合并,@see https://docs.tangly1024.com/article/notion-next-inline-config
|
||||
const combine = Object.assign(
|
||||
{},
|
||||
deepClone(notionConfig),
|
||||
parseConfig(notionConfig?.INLINE_CONFIG)
|
||||
)
|
||||
return combine
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user