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

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2019-01-12 19:09:37 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2019-01-12 19:09:37 +0300
commit48638e19308cd080851383974489e3bce27d0543 (patch)
treece280bac34049c946a35418287824f55f4956f45
parentb0be5503ded11ea08c9980f17d4a8adab5287211 (diff)
add 404 page
-rw-r--r--assets/css/style.css12
-rw-r--r--layouts/404.html5
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