diff --git a/appview/middleware/middleware.go b/appview/middleware/middleware.go --- a/appview/middleware/middleware.go +++ b/appview/middleware/middleware.go @@ -217,7 +217,7 @@ if err != nil { // invalid did or handle log.Println("failed to resolve repo") - mw.pages.Error404(w) + mw.pages.ErrorKnot404(w) return } diff --git a/appview/pages/templates/errors/404.html b/appview/pages/templates/errors/404.html --- a/appview/pages/templates/errors/404.html +++ b/appview/pages/templates/errors/404.html @@ -1,8 +1,28 @@ {{ define "title" }}404 · tangled{{ end }} {{ define "content" }} -
- It seems we couldn't find what you were looking for. Sorry about that! -
++ The page you're looking for doesn't exist. It may have been moved, deleted, or you have the wrong URL. +
+ +We're working on getting service back up. Hang tight!
-{{ end }} ++ Something went wrong on our end. We've been notified and are working to fix the issue. +
+Our team has been automatically notified about this error.
+- We were unable to reach the knot hosting this repository. Try again - later. -
++ We were unable to reach the knot hosting this repository. The service may be temporarily unavailable. +
+ +- The repository you were looking for could not be found. - The knot serving the repository may be unavailable. -
++ The repository you were looking for could not be found. The knot serving the repository may be unavailable. +
+ +