// Error page template. Implements BasePage methods. {% code type ErrorPage struct { // inherit from base page, so its' title is used in error page. BasePage // error path Path []byte } %} {% func (p *ErrorPage) Body() %} {%= p.BasePage.Header() %}

Error page

Unsupported path {%z p.Path %}. {%= p.BasePage.Footer(p.Status) %} {% endfunc %}