38 lines
738 B
Go
38 lines
738 B
Go
|
package config
|
||
|
|
||
|
type userConfig struct {
|
||
|
SiteName string `json:"siteName"`
|
||
|
|
||
|
Author string `json:"author"`
|
||
|
|
||
|
Icp string `json:"icp"`
|
||
|
|
||
|
TimeLayout string `json:"timeLayout"`
|
||
|
|
||
|
Port int `json:"port"`
|
||
|
|
||
|
WebHookSecret string `json:"webHookSecret"`
|
||
|
|
||
|
CategoryDisplayQuantity int `json:"categoryDisplayQuantity"`
|
||
|
|
||
|
UtterancesRepo string `json:"utterancesRepo"`
|
||
|
|
||
|
PageSize int `json:"pageSize"`
|
||
|
|
||
|
DescriptionLen int `json:"descriptionLen"`
|
||
|
|
||
|
DocumentGitUrl string `json:"documentGitUrl"`
|
||
|
|
||
|
HtmlKeywords string `json:"htmlKeywords"`
|
||
|
|
||
|
HtmlDescription string `json:"htmlDescription"`
|
||
|
|
||
|
ThemePath string `json:"themePath"`
|
||
|
|
||
|
ThemeColor string `json:"themeColor"`
|
||
|
|
||
|
ThemeOption []string `json:"themeOption"`
|
||
|
|
||
|
Dashboard string `json:"dashboard"`
|
||
|
}
|