文档调整

This commit is contained in:
tangly1024
2022-03-16 10:49:10 +08:00
parent 1810de59f6
commit 7739c673d2
2 changed files with 5 additions and 5 deletions

View File

@@ -48,10 +48,10 @@
## 支持主题切换
| 主题截图 | 预览地址 |
|--|--|
| <img src='./docs/theme-next.png' width='300'/> | [预览地址](https://preview.tangly1024.com/?theme=next) |
| <img src='./docs/theme-medium.png' width='300'/>| [预览地址](https://preview.tangly1024.com/?theme=medium) |
| <img src='./docs/theme-hexo.png' width='300'/> | [预览地址](https://preview.tangly1024.com/?theme=hexo) |
| <img src='./docs/theme-fukasawa.png' width='300'/>| [预览地址](https://preview.tangly1024.com/?theme=fukasawa) |
| <img src='./docs/theme-next.png' width='300'/> | [预览NEXT](https://preview.tangly1024.com/?theme=next) |
| <img src='./docs/theme-medium.png' width='300'/>| [预览MEDIUM](https://preview.tangly1024.com/?theme=medium) |
| <img src='./docs/theme-hexo.png' width='300'/> | [预览HEXO](https://preview.tangly1024.com/?theme=hexo) |
| <img src='./docs/theme-fukasawa.png' width='300'/>| [预览FUKASAWA](https://preview.tangly1024.com/?theme=fukasawa) |
*只需修改`blog.config.js`文件的`THEME`即可实现主题切换。*

View File

@@ -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