diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2019-01-12 19:09:37 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2019-01-12 19:09:37 +0300 |
commit | 48638e19308cd080851383974489e3bce27d0543 (patch) | |
tree | ce280bac34049c946a35418287824f55f4956f45 | |
parent | b0be5503ded11ea08c9980f17d4a8adab5287211 (diff) |
add 404 page
-rw-r--r-- | assets/css/style.css | 12 | ||||
-rw-r--r-- | layouts/404.html | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index 31b4d63..d01b1ec 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -458,6 +458,18 @@ color: white; } +/* 404 */ +.notfound { + align-items: center; + display: flex; + justify-content: center; + min-height: 90vh; +} + +.notfound__title { + font-size: var(--title); +} + /* COPY */ .copy { display: flex; diff --git a/layouts/404.html b/layouts/404.html index e69de29..2384d5a 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -0,0 +1,5 @@ +{{ define "main" }} +<main class="notfound"> + <h1 class="notfound__title">404</h1> +</main> +{{ end }}
\ No newline at end of file |