Files
herolib/lib/web/site/model_page.v
2025-10-14 11:25:11 +04:00

17 lines
441 B
V

module site
pub struct Page {
pub mut:
name string
title string
description string
draft bool
position int
hide_title bool
src string @[required] // always in format collection:page_name, can use the default collection if no : specified
path string @[required] //is without the page name, so just the path to the folder where the page is in
section_name string
title_nr int
slug string
}