hugo-theme-relearn/layouts/404.html

45 lines
1.6 KiB
HTML
Raw Normal View History

2016-04-11 23:46:08 +00:00
<!DOCTYPE html>
{{- partialCached "page-meta.hugo" . .RelPermalink }}
{{- $outputFormat := partial "output-format.hugo" . }}
<html lang="{{ .Page.Language | default "en" }}" dir="{{ T "Reading-direction" | default "ltr" }}">
<head>
{{- partial "meta.html" . }}
{{- .Scratch.Add "title" "" }}
{{- if eq .Site.Data.titles .Title }}
{{- .Scratch.Set "title" (index .Site.Data.titles .Title).title }}
{{- else }}
{{- .Scratch.Set "title" .Title}}
{{- end }}
<title>{{ .Scratch.Get "title" }} {{ default "::" .Site.Params.titleSeparator }} {{ .Site.Title }}</title>
2022-11-12 14:16:53 +00:00
{{- partialCached "favicon.html" . }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
<style>
p, li, ul {
text-align: center
}
ul {
list-style-type: none;
}
</style>
{{- partial "custom-header.html" . }}
</head>
<body class="mobile-support" data-url="/">
<div id="body" class="default-animation" style="margin-left:0px;">
<div id="sidebar-overlay"></div>
<main id="body-inner" class="chapter" tabindex="-1">
2022-02-28 00:19:32 +00:00
<div class="flex-block-wrapper">
2022-11-08 08:23:31 +00:00
<article class="default">
2022-11-01 01:00:50 +00:00
<h1>{{ T "title-404" }}</h1>
<p></p>
<p>{{ T "message-404" }}</p>
<p></p>
<p><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Site.Home) }}">{{ T "Go-to-homepage" }}</a></p>
2022-11-01 01:00:50 +00:00
<p><img src="{{ "images/gopher-404.jpg" | relURL }}" style="width:50%" alt="Page not found!"></p>
</article>
2022-02-28 00:19:32 +00:00
</div>
</main>
2021-09-13 17:23:38 +00:00
</div>
2016-04-11 23:46:08 +00:00
</body>
</html>