Skip to content

Commit

Permalink
文档调整
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Mar 16, 2022
1 parent 1810de5 commit 7739c67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`即可实现主题切换。*

Expand Down
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7739c67

Please sign in to comment.