Updated 404 page wording and style to reflect latest updates

This commit is contained in:
Julien Dessaux 2021-09-13 14:52:48 +02:00
parent 53ea0bd15f
commit 9186a890c6

View file

@ -1,8 +1,13 @@
{{ $title := "Page Not Found" }}
<!doctype html> <!doctype html>
<html class="no-js" lang="en"> <html class="no-js" lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/static/favicon.ico">
{{ $base := resources.Get "base.css" -}} {{ $base := resources.Get "base.css" -}}
{{- $header := resources.Get "header.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 -}} {{- $allCss := slice $base $header $home $pagination $footer $solarized | resources.Concat "static/all.css" | fingerprint | minify -}}
<link rel="stylesheet" href="{{ $allCss.Permalink }}"> <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=""> <meta name="description" content="">
</head> </head>
<body> <body>
{{- partial "nav.html" . -}} {{- partial "nav.html" . -}}
<main id="main"> <main id="main">
<h1>Page Not Found</h1> <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> </main>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</body> </body>