forked from mirrors/hugo-theme-terminal
Update 404 page
This commit is contained in:
@ -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" }} →</a>
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
{{ .Site.Params.missingContentMessage }}<br>
|
||||
<a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }} →</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user