From c95a7c2a04ceaaaa25979cb9b2ecb11b0abf0f61 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Tue, 30 Aug 2022 19:34:11 +0800 Subject: [PATCH] chore: add `home_container` setting --- internal/bootstrap/data/setting.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/bootstrap/data/setting.go b/internal/bootstrap/data/setting.go index 93dac96d..f065c72d 100644 --- a/internal/bootstrap/data/setting.go +++ b/internal/bootstrap/data/setting.go @@ -79,6 +79,7 @@ func InitialSettings() []model.SettingItem { {Key: conf.Favicon, Value: "https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg", Type: conf.TypeString, Group: model.STYLE}, {Key: conf.MainColor, Value: "#1890ff", Type: conf.TypeString, Group: model.STYLE}, {Key: "home_icon", Value: "🏠", Type: conf.TypeString, Group: model.STYLE}, + {Key: "home_container", Value: "max_980px", Type: conf.TypeSelect, Options: "max_980px,hope_container", Group: model.STYLE}, // preview settings {Key: conf.TextTypes, Value: "txt,htm,html,xml,java,properties,sql,js,md,json,conf,ini,vue,php,py,bat,gitignore,yml,go,sh,c,cpp,h,hpp,tsx,vtt,srt,ass,rs,lrc", Type: conf.TypeText, Group: model.PREVIEW, Flag: model.PRIVATE}, {Key: conf.AudioTypes, Value: "mp3,flac,ogg,m4a,wav,opus", Type: conf.TypeText, Group: model.PREVIEW, Flag: model.PRIVATE},