Add 404 page for gitlab pages
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
nemunaire 2024-02-29 09:18:56 +01:00
commit cbb671933f
2 changed files with 19 additions and 45 deletions

View file

@ -1,45 +0,0 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}
<body>
<div id="all">
{{ partial "nav.html" . }}
{{ partial "breadcrumbs.html" . }}
<div id="content" class="mt-5 mb-5" style="min-height: calc(80vh - 180px)">
{{ if isset .Params "id" }}
{{ partial .Params.id . }}
{{ else }}
<div class="container">
<div>
<h2>{{ .Title }}</h2>
<p>
This is not the web page you are looking for.
</p>
</div>
</div>
<!-- /.container -->
{{ end }}
</div>
<!-- /#content -->
</div>
<!-- /#all -->
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>