...
This commit is contained in:
17
lib/web/site/model_site_section.v
Normal file
17
lib/web/site/model_site_section.v
Normal file
@@ -0,0 +1,17 @@
|
||||
module site
|
||||
|
||||
@[heap]
|
||||
pub struct Site {
|
||||
pub mut:
|
||||
pages []Page
|
||||
sections []Section
|
||||
siteconfig SiteConfig
|
||||
}
|
||||
|
||||
pub struct Section {
|
||||
pub mut:
|
||||
name string
|
||||
position int
|
||||
path string
|
||||
label string
|
||||
}
|
||||
Reference in New Issue
Block a user