Skip to content

Commit

Permalink
Merge pull request tangly1024#2346 from tangly1024/release/v4.4.6
Browse files Browse the repository at this point in the history
SINCE配置
  • Loading branch information
tangly1024 authored Apr 28, 2024
2 parents dbe1a4e + 69b9871 commit 27b0eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const BLOG = {
THEME: process.env.NEXT_PUBLIC_THEME || 'simple', // 当前主题,在themes文件夹下可找到所有支持的主题;主题名称就是文件夹名,例如 example,fukasawa,gitbook,heo,hexo,landing,matery,medium,next,nobelium,plog,simple
THEME_SWITCH: process.env.NEXT_PUBLIC_THEME_SWITCH || false, // 是否显示切换主题按钮
LANG: process.env.NEXT_PUBLIC_LANG || 'zh-CN', // e.g 'zh-CN','en-US' see /lib/lang.js for more.
SINCE: process.env.NEXT_SINCE || 2021, // e.g if leave this empty, current year will be used.
SINCE: process.env.NEXT_PUBLIC_SINCE || 2021, // e.g if leave this empty, current year will be used.
APPEARANCE: process.env.NEXT_PUBLIC_APPEARANCE || 'light', // ['light', 'dark', 'auto'], // light 日间模式 , dark夜间模式, auto根据时间和主题自动夜间模式
APPEARANCE_DARK_TIME: process.env.NEXT_PUBLIC_APPEARANCE_DARK_TIME || [18, 6], // 夜间模式起至时间,false时关闭根据时间自动切换夜间模式

Expand Down

0 comments on commit 27b0eed

Please sign in to comment.