From afc090a7e0dcd39d03b4315c944313bd99fe470e Mon Sep 17 00:00:00 2001 From: horus_arch Date: Mon, 15 May 2017 13:13:46 +0200 Subject: Error pages are working now. --- content/500.md | 6 ++++++ content/502.md | 5 +++++ content/503.md | 5 +++++ content/504.md | 5 +++++ layouts/500/single.html | 37 +++++++++++++++++++++++++++++++++++++ layouts/502/single.html | 37 +++++++++++++++++++++++++++++++++++++ layouts/503/single.html | 37 +++++++++++++++++++++++++++++++++++++ layouts/504/single.html | 37 +++++++++++++++++++++++++++++++++++++ layouts/error/500.html | 37 ------------------------------------- layouts/error/502.html | 37 ------------------------------------- layouts/error/503.html | 37 ------------------------------------- layouts/error/504.html | 37 ------------------------------------- 12 files changed, 169 insertions(+), 148 deletions(-) create mode 100644 content/500.md create mode 100644 content/502.md create mode 100644 content/503.md create mode 100644 content/504.md create mode 100644 layouts/500/single.html create mode 100644 layouts/502/single.html create mode 100644 layouts/503/single.html create mode 100644 layouts/504/single.html delete mode 100644 layouts/error/500.html delete mode 100644 layouts/error/502.html delete mode 100644 layouts/error/503.html delete mode 100644 layouts/error/504.html diff --git a/content/500.md b/content/500.md new file mode 100644 index 0000000..b96027d --- /dev/null +++ b/content/500.md @@ -0,0 +1,6 @@ ++++ +draft = false +type = "500" +layout = "single" + ++++ diff --git a/content/502.md b/content/502.md new file mode 100644 index 0000000..24b7d2a --- /dev/null +++ b/content/502.md @@ -0,0 +1,5 @@ ++++ +draft = false +type = "502" +layout = "single" ++++ diff --git a/content/503.md b/content/503.md new file mode 100644 index 0000000..2a933bc --- /dev/null +++ b/content/503.md @@ -0,0 +1,5 @@ ++++ +draft = false +type = "503" +layout = "single" ++++ diff --git a/content/504.md b/content/504.md new file mode 100644 index 0000000..da4ddef --- /dev/null +++ b/content/504.md @@ -0,0 +1,5 @@ ++++ +draft = false +type = "504" +layout = "single" ++++ diff --git a/layouts/500/single.html b/layouts/500/single.html new file mode 100644 index 0000000..f780401 --- /dev/null +++ b/layouts/500/single.html @@ -0,0 +1,37 @@ +{{partial "header.tmpl" .}} +
500 - something went wrong
+_ ___ _.--.
+\`.|\..----...-'` `-._.-'_.-'`
+/ ' ` , __.--'
+)/' _/ \ `-_, /
+`-'" `"\_ ,_.-;_.-\_ ',
+ _.-'_./ {_.' ; /
+ {_.-``-' {_/
+ ~~~~~~ ~~~~~
+
+ + click to go back +
+502 - bad gateway
+_ ___ _.--.
+\`.|\..----...-'` `-._.-'_.-'`
+/ ' ` , __.--'
+)/' _/ \ `-_, /
+`-'" `"\_ ,_.-;_.-\_ ',
+ _.-'_./ {_.' ; /
+ {_.-``-' {_/
+ ~~~~~~ ~~~~~
+
+ + click to go back +
+503 - service unavailable
+_ ___ _.--.
+\`.|\..----...-'` `-._.-'_.-'`
+/ ' ` , __.--'
+)/' _/ \ `-_, /
+`-'" `"\_ ,_.-;_.-\_ ',
+ _.-'_./ {_.' ; /
+ {_.-``-' {_/
+ ~~~~~~ ~~~~~
+
+ + click to go back +
+504 - time out
+_ ___ _.--.
+\`.|\..----...-'` `-._.-'_.-'`
+/ ' ` , __.--'
+)/' _/ \ `-_, /
+`-'" `"\_ ,_.-;_.-\_ ',
+ _.-'_./ {_.' ; /
+ {_.-``-' {_/
+ ~~~~~~ ~~~~~
+
+ + click to go back +
+500 - something went wrong
-_ ___ _.--.
-\`.|\..----...-'` `-._.-'_.-'`
-/ ' ` , __.--'
-)/' _/ \ `-_, /
-`-'" `"\_ ,_.-;_.-\_ ',
- _.-'_./ {_.' ; /
- {_.-``-' {_/
- ~~~~~~ ~~~~~
-
- - click to go back -
-502 - bad gateway
-_ ___ _.--.
-\`.|\..----...-'` `-._.-'_.-'`
-/ ' ` , __.--'
-)/' _/ \ `-_, /
-`-'" `"\_ ,_.-;_.-\_ ',
- _.-'_./ {_.' ; /
- {_.-``-' {_/
- ~~~~~~ ~~~~~
-
- - click to go back -
-503 - service unavailable
-_ ___ _.--.
-\`.|\..----...-'` `-._.-'_.-'`
-/ ' ` , __.--'
-)/' _/ \ `-_, /
-`-'" `"\_ ,_.-;_.-\_ ',
- _.-'_./ {_.' ; /
- {_.-``-' {_/
- ~~~~~~ ~~~~~
-
- - click to go back -
-504 - time out
-_ ___ _.--.
-\`.|\..----...-'` `-._.-'_.-'`
-/ ' ` , __.--'
-)/' _/ \ `-_, /
-`-'" `"\_ ,_.-;_.-\_ ',
- _.-'_./ {_.' ; /
- {_.-``-' {_/
- ~~~~~~ ~~~~~
-
- - click to go back -
-