collections as one navigation level
This commit is contained in:
@@ -8,10 +8,16 @@ import (
|
||||
|
||||
// CollectionConfig describes a collection
|
||||
type CollectionConfig struct {
|
||||
Name *string `yaml:"Name"`
|
||||
URL *string `yaml:"URL"`
|
||||
GoToTemplate *string `yaml:"GoToTemplate"`
|
||||
RegisterNav *bool `yaml:"RegisterNav"`
|
||||
Name *string `yaml:"Name"`
|
||||
EntriesJSON *string `yaml:"EntriesJSON"`
|
||||
NavTemplate *struct {
|
||||
GoTo string `yaml:"GoTo"`
|
||||
Navname string `yaml:"Navname"`
|
||||
Body string `yaml:"Body"`
|
||||
DataKey string `yaml:"DataKey"`
|
||||
Hidden bool `yaml:"Hidden"`
|
||||
Template string `yaml:"Template"`
|
||||
} `yaml:"NavTemplate"`
|
||||
}
|
||||
|
||||
// ThisPathConfig is struct for This in paths yaml
|
||||
|
||||
Reference in New Issue
Block a user