theme: Customize 404 page with 404cat
This commit is contained in:
parent
80a9b0a2d3
commit
eb43562384
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" }}
|
{{ define "main" }}
|
||||||
|
{{- $image := resources.Get "images/404.png" }}
|
||||||
<main class="container" aria-role="main">
|
<main class="container" aria-role="main">
|
||||||
<div>
|
<div>
|
||||||
<h1 id="title">404 Page not Found</h1>
|
<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>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue