{% code type Error500Page struct { Message string Error string } %} {% func (p *Error500Page ) Title() %} 500 {% endfunc %} {% func (p *Error500Page ) Stylesheets() %} {% endfunc %} {% func (p *Error500Page ) Scripts() %} {% endfunc %} {% func (p *Error500Page ) Body() %}

Error: 500

{%s p.Message %}

{%s p.Error %}

{% endfunc %}