feat(pages): add page theme configuration and static files
This commit is contained in:
@@ -39,8 +39,15 @@ type HttpcConfig struct {
|
||||
MaxConnsPerHost int `toml:"maxConnsPerHost"`
|
||||
}
|
||||
|
||||
/*
|
||||
[pages]
|
||||
enabled = false
|
||||
theme = "bootstrap" # "bootstrap" or "nebula"
|
||||
staticDir = "/data/www"
|
||||
*/
|
||||
type PagesConfig struct {
|
||||
Enabled bool `toml:"enabled"`
|
||||
Theme string `toml:"theme"`
|
||||
StaticDir string `toml:"staticDir"`
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ maxConnsPerHost = 0 # only for advanced mode
|
||||
|
||||
[pages]
|
||||
enabled = false
|
||||
theme = "bootstrap" # "bootstrap" or "nebula"
|
||||
staticDir = "/data/www"
|
||||
|
||||
[log]
|
||||
|
||||
Reference in New Issue
Block a user