diff options
author | Julien Dessaux | 2021-09-13 14:52:48 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-13 14:52:48 +0200 |
commit | 9186a890c669d0a37d5986a8f9ddfe36ce450015 (patch) | |
tree | 0236fe0e89cf651d07aa07b89bbc07e94d972fb7 /layouts/404.html | |
parent | Fixed google's lighthouse seo warnings (diff) | |
download | www-9186a890c669d0a37d5986a8f9ddfe36ce450015.tar.gz www-9186a890c669d0a37d5986a8f9ddfe36ce450015.tar.bz2 www-9186a890c669d0a37d5986a8f9ddfe36ce450015.zip |
Updated 404 page wording and style to reflect latest updates
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html index 6560c4f..dcc5604 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,8 +1,13 @@ +{{ $title := "Page Not Found" }} + <!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" href="/static/favicon.ico"> + + {{ $base := resources.Get "base.css" -}} {{- $header := resources.Get "header.css" -}} @@ -13,14 +18,18 @@ {{- $allCss := slice $base $header $home $pagination $footer $solarized | resources.Concat "static/all.css" | fingerprint | minify -}} <link rel="stylesheet" href="{{ $allCss.Permalink }}"> - <title>Page Not Found</title> + {{ range .AlternativeOutputFormats -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + <title>{{ $title }}</title> <meta name="description" content=""> </head> <body> {{- partial "nav.html" . -}} <main id="main"> <h1>Page Not Found</h1> - <p>Sorry, but the page you were trying to view does not exist. Please refer to the menu above to return to resume your navigation.t</p> + <p>Sorry, but the page you were trying to view does not exist. Please refer to the menu above to resume your navigation.</p> </main> {{- partial "footer.html" . -}} </body> |