Update 404 page

This commit is contained in:
panr
2020-05-29 00:07:58 +02:00
parent abab5c6dcd
commit 7c77a416df
3 changed files with 19 additions and 203 deletions

View File

@ -1,11 +1,10 @@
{{ define "main" }}
<div class="post">
<h1 class="post-title">404!</h1>
<div class="post">
<h1 class="post-title">404 — {{ $.Site.Params.missingContentMessage | default "Page not found..." }}</h1>
<div class="post-content">
<a href="{{ "/" | absURL }}">{{ $.Site.Params.missingBackButtonLabel | default "Back to home page" }}&nbsp;</a>
</div>
<div class="post-content">
{{ .Site.Params.missingContentMessage }}<br>
<a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }}&nbsp;</a>
</div>
</div>
{{ end }}