Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultMenu ¶
type DefaultMenu struct { Items []page.MenuItem Identifier string Template string Theme string T *template.Template }
DefaultMenu is the base menu struct for Beubo
func (DefaultMenu) GetIdentifier ¶
func (m DefaultMenu) GetIdentifier() string
GetIdentifier is a getter for the Identifier property
func (DefaultMenu) GetItems ¶
func (m DefaultMenu) GetItems() []page.MenuItem
GetItems is a getter for the Items property
func (DefaultMenu) Render ¶
func (m DefaultMenu) Render() string
Render calls the relevant templates and functions to turn a menu into a html string for browser output
Click to show internal directories.
Click to hide internal directories.