动态组件模式调整

This commit is contained in:
tangly1024.com
2024-11-18 18:10:18 +08:00
parent ab2129464f
commit 21d9bc03f7
22 changed files with 294 additions and 121 deletions

View File

@@ -34,6 +34,7 @@ export const siteConfig = (key, defaultVal = null, extendConfig = {}) => {
case 'POST_URL_PREFIX_MAPPING_CATEGORY':
case 'IS_TAG_COLOR_DISTINGUISHED':
case 'TAG_SORT_BY_COUNT':
case 'THEME':
case 'LINK':
return convertVal(extendConfig[key] || defaultVal || BLOG[key])
default: