mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
404 template example: remove slash relURL arg
For context, see: - #9994 /cc @jmooring @dep
This commit is contained in:
1 parent
1195f168a3
commit
2fa6f0b948
1 file changed
+1
-1
@@ -35,7 +35,7 @@ This is a basic example of a 404.html template:
|
|||||||
{{ define "main"}}
|
{{ define "main"}}
|
||||||
<main id="main">
|
<main id="main">
|
||||||
<div>
|
<div>
|
||||||
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
|
<h1 id="title"><a href="{{ "" | relURL }}">Go Home</a></h1>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user