mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 03:03:09 +00:00
46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
<!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" "" }}
|
|
{{- $title := .Title }}
|
|
{{- if eq .Site.Data.titles .Title }}
|
|
{{- $title = (index .Site.Data.titles .Title).title }}
|
|
{{- end }}
|
|
{{- if and $title .Site.Title (not (eq $title .Site.Title)) }}
|
|
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) .Site.Title }}
|
|
{{- end }}
|
|
<title>{{ $title }}</title>
|
|
<base href="{{ .Site.BaseURL }}">
|
|
{{- 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="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">
|
|
<div id="body" class="default-animation" style="margin-left: 0;">
|
|
<div id="sidebar-overlay"></div>
|
|
<main id="body-inner" class="chapter" tabindex="-1">
|
|
<div class="flex-block-wrapper">
|
|
<article class="default">
|
|
<h1 id="{{ T "title-404" | anchorize }}">{{ 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>
|
|
<p><img src="{{ "images/gopher-404.jpg" | relURL }}" style="width:50%" alt="Page not found!"></p>
|
|
</article>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|