diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:50:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:50:19 +0530 |
commit | 4d53954be9a98d67531794956f6376bba01af86d (patch) | |
tree | a76071adc0101caf48ace9a9219c4c304ba7905a /layouts/404.html | |
parent | 68abbb9eb2449a674ec4f8d47ecf44771c8c2ec6 (diff) |
added 404 page
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 13 |
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 }} |