add 404 page

This commit is contained in:
hossainemruz 2020-04-18 04:25:15 +06:00
parent 00465629d2
commit 6e747d9e0c
6 changed files with 45 additions and 21 deletions

View file

@ -1,11 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Page</title>
</head>
<body>
<h1>It seems you got lost....</h1>
</body>
</html>
{{ define "navbar" }}
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true) }}
{{ end }}
{{ define "content" }}
<div class="notFound">
<img src="/assets/images/404.png" alt="">
<div class="message">
<h1>404</h1>
<h4>The page you are looking for is not done yet.</h4>
</div>
</div>
{{ end }}