mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
404 template example: remove slash relURL arg
For context, see: - #9994 /cc @jmooring @dep
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
1195f168a3
commit
2fa6f0b948
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user