summaryrefslogtreecommitdiff
path: root/layouts/404.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 11:50:19 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 11:50:19 +0530
commit4d53954be9a98d67531794956f6376bba01af86d (patch)
treea76071adc0101caf48ace9a9219c4c304ba7905a /layouts/404.html
parent68abbb9eb2449a674ec4f8d47ecf44771c8c2ec6 (diff)
added 404 page
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
index e69de29..8bcffdd 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -0,0 +1,13 @@
+{{ define "main" }}
+<div id="404">
+ <h1>(404) The page you requested was not found.</h1>
+
+ {{ if .Site.Params.header404 }}
+ <img id="header-img" src="{{ index .Site.Params.header404 0 }}" alt="{{ index .Site.Params.header404 1 }}">
+ {{ end }}
+
+ <p>
+ <a href="/">Go back home</a>
+ </p>
+</div>
+{{ end }}