diff --git a/README.md b/README.md index d1628b76..f0f96d73 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,10 @@ ## 支持主题切换 | 主题截图 | 预览地址 | |--|--| -| | [预览地址](https://preview.tangly1024.com/?theme=next) | -| | [预览地址](https://preview.tangly1024.com/?theme=medium) | -| | [预览地址](https://preview.tangly1024.com/?theme=hexo) | -| | [预览地址](https://preview.tangly1024.com/?theme=fukasawa) | +| | [预览NEXT](https://preview.tangly1024.com/?theme=next) | +| | [预览MEDIUM](https://preview.tangly1024.com/?theme=medium) | +| | [预览HEXO](https://preview.tangly1024.com/?theme=hexo) | +| | [预览FUKASAWA](https://preview.tangly1024.com/?theme=fukasawa) | *只需修改`blog.config.js`文件的`THEME`即可实现主题切换。* diff --git a/blog.config.js b/blog.config.js index 90726a7e..76ab5d35 100644 --- a/blog.config.js +++ b/blog.config.js @@ -10,7 +10,7 @@ const BLOG = { NOTION_ACCESS_TOKEN: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public DEBUG: process.env.NEXT_PUBLIC_DEBUG || false, // 是否显示调试按钮 - THEME: process.env.NEXT_PUBLIC_THEME || 'next', // 主题, 支持 ['Next','Hexo',"Fukasawa','Medium'] + THEME: process.env.NEXT_PUBLIC_THEME || 'next', // 主题, 支持 ['next','hexo',"fukasawa','medium'] LANG: 'zh-CN', // e.g 'zh-CN','en-US' see /lib/lang.js for more. SINCE: 2021, // e.g if leave this empty, current year will be used. BEI_AN: process.env.NEXT_PUBLIC_BEI_AN || '', // 备案号 闽ICP备XXXXXXX