hugo-theme-relearn/layouts/404.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2016-04-11 23:46:08 +00:00
<!DOCTYPE html>
<html lang="{{ .Page.Language | default "en" }}" class="js csstransforms3d">
<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>
{{- partial "favicon.html" . }}
{{- partial "stylesheet.html" . }}
<style>
p, li, ul {
text-align: center
}
ul {
list-style-type: none;
}
</style>
{{- partial "custom-header.html" . }}
</head>
<body class="default-animation" data-url="/">
2022-02-13 00:53:23 +00:00
<div id="body default-animation" style="margin-left:0px;">
2016-04-11 23:46:08 +00:00
<div id="overlay"></div>
<main id="body-inner" class="chapter">
<h1>{{ T "title-404" }}</h1>
<p></p>
<p>{{ T "message-404" }}</p>
<p></p>
<p><a href="{{ "" | relLangURL }}">{{ T "Go-to-homepage" }}</a></p>
<p><img src="{{ "/images/gopher-404.jpg" | relURL }}" style="width:50%" alt="Page not found!"></p>
</main>
2021-09-13 17:23:38 +00:00
</div>
2016-04-11 23:46:08 +00:00
</body>
</html>