~repos /gromer

#golang#htmx#ssr

git clone https://pyrossh.dev/repos/gromer.git

gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.


94fcbd86 pyros2097

5 years ago
fix notfound
Files changed (1) hide show
  1. tree.go +2 -2
tree.go CHANGED
@@ -1272,10 +1272,10 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
1272
1272
  func DefaultNotFound(c *RenderContext) UI {
1273
1273
  return Col(
1274
1274
  Row(
1275
- "This is the default 404 - Not Found Route handler",
1275
+ Text("This is the default 404 - Not Found Route handler"),
1276
1276
  ),
1277
1277
  Row(
1278
- "Create a notfound.go file and add a func NotFound(c *RenderContext) UI {} to override it",
1278
+ Text("Create a notfound.go file and add a func NotFound(c *RenderContext) UI {} to override it"),
1279
1279
  ),
1280
1280
  )
1281
1281
  }