From 7739c673d20e6115b944c03ccd349d14bb9d9635 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 16 Mar 2022 10:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- blog.config.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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