Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
HandleError renders the error page with the given status and message
Types ¶
type PageData ¶
type PageData struct { Title string `json:"title"` Description string `json:"description,omitempty"` Data map[string]interface{} `json:"data,omitempty"` WebPath string `json:"web_path"` }
PageData represents the data passed to HTML templates
func NewPageData ¶
func NewPageData() PageData
NewPageData creates a new page data instance with defaults
Click to show internal directories.
Click to hide internal directories.