Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { Name string // contains filtered or unexported fields }
func ParseCompleteTree ¶
func ParseCompleteTree() *Page
ParseCompleteTree parses the pages directory and constructs a complete page tree with parsed templates. It returns the root page
func (*Page) GetDeepChildByUri ¶
GetDeepChildByUri uses a breadth first search to find a page which matches the uri path exactly from the current page It returns a page if one is found, and any errors encountered
func (*Page) HasTemplate ¶
HasTemplate is used to determine whether a template has been parsed for a given page It returns a boolean
func (*Page) RenderTemplate ¶
Click to show internal directories.
Click to hide internal directories.