We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c5269 commit b105465Copy full SHA for b105465
doc/app.yaml
@@ -10,4 +10,7 @@ handlers:
10
upload: public/(.*)
11
- url: /
12
static_dir: public/
13
-
+- url: /.*
14
+ static_files: public/404.html
15
+ upload: public/404.html
16
+ error_code: 404
doc/layouts/404.html
@@ -1,5 +1,13 @@
1
{{ define "main" }}
2
- <h1>Page not found</h1>
+<header>
3
+ <span class="content">
4
+ <h1>Page not found</h1>
5
+ </span>
6
+</header>
7
+<main>
8
- I'm sorry, but the requested page wasn’t found on the server.
9
+<div class="content">
+ <p>I'm sorry, but the requested page wasn’t found on the server. Try going back to the <a href="{{ "" | relURL }}">home page</a>.</p>
+</div>
+</main>
{{ end }}
0 commit comments