Redmage/views/components/404.templ

13 lines
201 B
Plaintext

package components
import "github.com/tigorlazuardi/redmage/views"
templ Page404(c *views.Context, text string) {
@Doctype() {
@Head(c, HeadTitle(text))
@Body(c) {
<h1>{ text }</h1>
}
}
}