theme: Customize 404 page with 404cat
This commit is contained in:
parent
80a9b0a2d3
commit
eb43562384
2 changed files with 3 additions and 1 deletions
BIN
themes/ccchh/assets/images/404.png
Normal file
BIN
themes/ccchh/assets/images/404.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 KiB |
|
@ -1,8 +1,10 @@
|
|||
{{ define "main" }}
|
||||
{{- $image := resources.Get "images/404.png" }}
|
||||
<main class="container" aria-role="main">
|
||||
<div>
|
||||
<h1 id="title">404 Page not Found</h1>
|
||||
<a href="{{ "" | relURL }}">Back Home</a>
|
||||
<p>The requested page was not found. Maybe try searching from <a href="{{ .Site.Home.RelPermalink }}">home</a>.</p>
|
||||
<img src="{{ $image.RelPermalink }}">
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue