mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
文档调整
This commit is contained in:
@@ -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`即可实现主题切换。*
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user