34 lines
560 B
Go
34 lines
560 B
Go
|
package model
|
||
|
|
||
|
type MeLinks struct {
|
||
|
Name string
|
||
|
Url string
|
||
|
}
|
||
|
|
||
|
type EntryList struct {
|
||
|
Id string
|
||
|
Title string
|
||
|
Include []string
|
||
|
ListType string
|
||
|
}
|
||
|
|
||
|
type MenuItem struct {
|
||
|
Title string
|
||
|
List string
|
||
|
Url string
|
||
|
Post string
|
||
|
}
|
||
|
|
||
|
type SiteConfig struct {
|
||
|
Title string
|
||
|
SubTitle string
|
||
|
HeaderColor string
|
||
|
AuthorName string
|
||
|
Me []MeLinks
|
||
|
Lists []EntryList
|
||
|
PrimaryListInclude []string
|
||
|
HeaderMenu []MenuItem
|
||
|
FooterMenu []MenuItem
|
||
|
Secret string
|
||
|
}
|