404 template example: remove slash relURL arg

For context, see:

- #9994

/cc @jmooring @dep
This commit is contained in:
Patrice Chalin 2022-07-29 14:12:37 -04:00 committed by Bjørn Erik Pedersen
parent 1195f168a3
commit 2fa6f0b948

View File

@ -35,7 +35,7 @@ This is a basic example of a 404.html template:
{{ define "main"}}
<main id="main">
<div>
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
<h1 id="title"><a href="{{ "" | relURL }}">Go Home</a></h1>
</div>
</main>
{{ end }}