forked from forgejo/forgejo
minor fixes on #1551
This commit is contained in:
parent
67f07e21f5
commit
7714e792a4
10 changed files with 322 additions and 734 deletions
|
@ -91,7 +91,8 @@ var (
|
|||
AnsiCharset string
|
||||
|
||||
// UI settings.
|
||||
IssuePagingNum int
|
||||
ExplorePagingNum int
|
||||
IssuePagingNum int
|
||||
|
||||
// Picture settings.
|
||||
PictureService string
|
||||
|
@ -352,6 +353,7 @@ func NewConfigContext() {
|
|||
AnsiCharset = sec.Key("ANSI_CHARSET").MustString("")
|
||||
|
||||
// UI settings.
|
||||
ExplorePagingNum = Cfg.Section("ui").Key("EXPLORE_PAGING_NUM").MustInt(20)
|
||||
IssuePagingNum = Cfg.Section("ui").Key("ISSUE_PAGING_NUM").MustInt(10)
|
||||
|
||||
sec = Cfg.Section("picture")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue