29 lines
891 B
HTML
29 lines
891 B
HTML
{{ define "mainbody" }}
|
|
<div class="page404">
|
|
<div>
|
|
<h1>
|
|
404
|
|
</h1>
|
|
{{ if .NotFoundMessage }}
|
|
<h2>
|
|
{{ .NotFoundMessage }}
|
|
</h2>
|
|
{{ if .GoBackLink }}
|
|
<div class="description">
|
|
<a hx-get="{{ .GoBackLink }}" hx-headers='{"REQUEST-TYPE": "htmlfull"}' hx-push-url="true" hx-swap="outerHTML" hx-target=".app">
|
|
👈 Go back
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
{{ else }}
|
|
<h2>
|
|
Page Not found
|
|
</h2>
|
|
<div class="description">
|
|
The page you were looking for does not exist
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|