mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,5 +2,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
*/**/.DS_Store
|
*/**/.DS_Store
|
||||||
|
|
||||||
|
*.swp
|
||||||
|
|
||||||
# exampleSite
|
# exampleSite
|
||||||
exampleSite/public
|
exampleSite/public
|
||||||
|
@@ -1,11 +1,23 @@
|
|||||||
{{ partial "header.html" . }}
|
<!DOCTYPE html>
|
||||||
<section class="main">
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>404 - Page not found</title>
|
||||||
|
{{ partial "head_includes.html" . }}
|
||||||
|
<style>
|
||||||
|
{{ partial "css/404.css" . | safeCSS }}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img src={{ .Site.Params.logofile }} class="logo" alt="logo"></img>
|
||||||
<div class="container f04">
|
<div class="container f04">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="num">404</div>
|
<section class="header">
|
||||||
<div class="detail">Sorry, this page does not exist.</div>
|
<div class="name">404</div>
|
||||||
<div class="suggestion"><a href="/">Visit home page</a></div>
|
</section>
|
||||||
|
<div class="detail">The page you were looking for does not exist.</div>
|
||||||
|
<div class="suggestion"><a href="/">Visit the home page</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</body>
|
||||||
{{ partial "footer.html" . }}
|
</html>
|
||||||
|
14
layouts/partials/css/404.css
Normal file
14
layouts/partials/css/404.css
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
.logo {
|
||||||
|
vertical-align: middle;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
margin: 3em auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.header {
|
||||||
|
margin-left: initial;
|
||||||
|
margin-right: intial;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
@@ -694,4 +694,4 @@ section.main .content .share a {
|
|||||||
.wf-ubuntu-mono-n4-active section.main .content .markdown code,
|
.wf-ubuntu-mono-n4-active section.main .content .markdown code,
|
||||||
.wf-ubuntu-mono-n4-active section.main .content .markdown pre {
|
.wf-ubuntu-mono-n4-active section.main .content .markdown pre {
|
||||||
font-family: 'Ubuntu Mono';
|
font-family: 'Ubuntu Mono';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user