feat(404): changed the error page to be generic and used with a custom go server

This commit is contained in:
2022-08-02 16:08:52 +01:00
parent 8349b3af78
commit f843c196df
2 changed files with 12 additions and 12 deletions

View File

@@ -1,11 +1,11 @@
{{ define "main" }}
<div id="spotlight" class="error-404 animated fadeIn">
<div id="spotlight" class="http-error animated fadeIn">
<div id="home-center">
<div class="banner-404">
<h1>404</h1>
<p>{{ i18n "notFound" }}</p>
<p class="btn-404">
<a href="{{.Site.BaseURL}}"><img class="feather" width="24" height="24" alt="GPG" src="{{"home.svg" | relURL}}"> {{ i18n "home" }}</a>
<div class="banner-error">
<h1>STATUSCODE</h1>
<p>STATUSMSG</p>
<p class="btn-http-error">
<a href="{{.Site.BaseURL}}"><img class="feather" width="24" height="24" alt="home" src="{{"home.svg" | relURL}}"> {{ i18n "home" }}</a>
</p>
</div>
</div>