diff options
author | Jens Sauer <jsauer65@gmail.com> | 2018-10-16 18:47:56 +0300 |
---|---|---|
committer | Jens Sauer <jsauer65@gmail.com> | 2018-10-16 18:47:56 +0300 |
commit | e7c489bebead171713f992d05a693ea507ccfb31 (patch) | |
tree | ebb49216f47d1b8772cd50cfe3abfff44000ba7a /layouts | |
parent | 9a32d275a44edb6b30ce9dac72bf826a552bf61a (diff) |
layouts/404: Fix homepage link
The link to the homepage on the 404 error page is broken. A link to
'Page("Name of homepage")' instead of the base URL is created.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/404.html b/layouts/404.html index 8f1e98c..003c64a 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -12,7 +12,7 @@ <section> <h2>Whoops.</h2> <p> - The page you were looking for doesn't exist. Would you like to <a href="{{ .Site.Home }}">go to the home page</a>? + The page you were looking for doesn't exist. Would you like to <a href="{{ .Site.BaseURL }}">go to the home page</a>? </p> </section> {{ partial "footer.html" . }} |