mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 23:16:52 +00:00
@@ -1,2 +1,2 @@
|
|||||||
# 环境变量 @see https://www.nextjs.cn/docs/basic-features/environment-variables
|
# 环境变量 @see https://www.nextjs.cn/docs/basic-features/environment-variables
|
||||||
NEXT_PUBLIC_VERSION=3.15.1
|
NEXT_PUBLIC_VERSION=3.15.2
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notion-next",
|
"name": "notion-next",
|
||||||
"version": "3.15.1",
|
"version": "3.15.2",
|
||||||
"homepage": "https://github.com/tangly1024/NotionNext.git",
|
"homepage": "https://github.com/tangly1024/NotionNext.git",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export const getLayoutByTheme = (router) => {
|
|||||||
if (theme !== BLOG.THEME) {
|
if (theme !== BLOG.THEME) {
|
||||||
return dynamic(() => import(`@/themes/${theme}/${layout}`), { ssr: true })
|
return dynamic(() => import(`@/themes/${theme}/${layout}`), { ssr: true })
|
||||||
} else {
|
} else {
|
||||||
console.log('静态主题', layout)
|
// console.log('静态主题', layout)
|
||||||
return ThemeComponents[layout]
|
return ThemeComponents[layout]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user