aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/404.html13
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>