extends base.jade block head :go:func ErrorXXX(mainSite string, code int, errorMsg string) style(type="text/css"). #error { font-size: 3.5rem; line-height: 5rem; text-align: center; margin: 6rem 0; } #error h1 { font-size: 8rem; } block header h1 Еггог block body section#error h1 #{code} | #{http.StatusText(code)} if errorMsg != "" p #{errorMsg} center a(href="/") Back to index page