Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jsnjack/kraiklyn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYauhen Shulitski <jsnjack@gmail.com>2018-01-28 22:46:20 +0300
committerYauhen Shulitski <jsnjack@gmail.com>2018-01-28 22:46:20 +0300
commit3c50cbbbb9f5a3b91acf78bb1337e4ae06ae3d5a (patch)
tree2c0046e630deb705be93a5335939d12e1226c672
parent704f8ae3fa7635499be1879ea1862bf6449ac169 (diff)
Add 404 page
-rw-r--r--layouts/404.html22
-rw-r--r--static/css/styles.css1
2 files changed, 22 insertions, 1 deletions
diff --git a/layouts/404.html b/layouts/404.html
index e69de29..8031410 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -0,0 +1,22 @@
+{{ partial "head.html" . }}
+<style>
+ .not-found {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ min-height: 100vh;
+ font-size: 200%;
+ text-decoration: none;
+ color: #363636;
+ }
+
+ .not-found a {
+ display: inline-block;
+ }
+</style>
+<a href="/" class="not-found">
+ Well, a fine little mess. Easy in, easy out. Another triumph.
+</a>
+{{ partial "tail.html" . }}
diff --git a/static/css/styles.css b/static/css/styles.css
index 799c2ba..7a7e766 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -185,4 +185,3 @@ section div pre {
section code {
background-color: #fafafa;
}
-