From 6e747d9e0c6fc5e861eb752a3326a48fd6ab2d6a Mon Sep 17 00:00:00 2001 From: hossainemruz Date: Sat, 18 Apr 2020 04:25:15 +0600 Subject: [PATCH] add 404 page --- layouts/404.html | 24 +++++++++++++----------- layouts/partials/footer.html | 2 +- layouts/partials/navbar.html | 2 +- static/assets/css/achievements.css | 17 +++++++++-------- static/assets/css/style.css | 21 +++++++++++++++++++++ static/assets/images/404.png | Bin 0 -> 117390 bytes 6 files changed, 45 insertions(+), 21 deletions(-) create mode 100644 static/assets/images/404.png diff --git a/layouts/404.html b/layouts/404.html index eb0e307..5eb5533 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,11 +1,13 @@ - - - - - - 404 Page - - -

It seems you got lost....

- - \ No newline at end of file +{{ define "navbar" }} + {{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true) }} +{{ end }} + +{{ define "content" }} +
+ +
+

404

+

The page you are looking for is not done yet.

+
+
+{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7f65f40..7eb67e6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,7 +6,7 @@ diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index dc03708..492672e 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -1,6 +1,6 @@