Update home config
This commit is contained in:
parent
44af84abe9
commit
8c4de32246
9 changed files with 30 additions and 18 deletions
|
|
@ -4,6 +4,7 @@ import "github.com/FAU-CDI/wisski-distillery/internal/config/validators"
|
|||
|
||||
// HomeConfig determines options for the homepage of the distillery
|
||||
type HomeConfig struct {
|
||||
Title string `yaml:"title" default:"WissKI Distillery" validate:"nonempty"`
|
||||
SelfRedirect *validators.URL `yaml:"redirect" default:"https://github.com/FAU-CDI/wisski-distillery" validate:"https"`
|
||||
List HomeListConfig `yaml:"list" recurse:"true"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue