Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicky <vicky@vickylai.com>2017-04-22 03:59:02 +0300
committerVicky <vicky@vickylai.com>2017-04-22 03:59:02 +0300
commit2ffbba95df84313543a359dbb4a7dc6100d114aa (patch)
treea28c7902ff0e1eae62df8323f3cd908aac2cd81e
parent2661f0acb2b2895dde64bafc8d4093a6a6878643 (diff)
Fixed 404 page.
-rw-r--r--layouts/404.html46
1 files changed, 14 insertions, 32 deletions
diff --git a/layouts/404.html b/layouts/404.html
index b4ed8a5..145f1d5 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,40 +1,22 @@
- {{ partial "header.html" . }}
+{{ partial "header.html" . }}
-<div class="section"><!-- Parent section -->
+<div class="section" id="top"><!-- Parent section -->
- <div class="hero fade-in one"><!-- Begin hero 404 -->
- <div class="hero-body has text centered">
- <h1 class="title bold-title is-1">404</h1>
- </div>
- </div><!-- End hero 404 -->
-
- <div class="container fade-in two"><!-- Begin Nav bar -->
- <hr>
- <nav class="nav-center">
- <a class="nav-item" href="/">Main</a> |
- <a class="nav-item" href="/#about">About</a> |
- {{ if .Site.Params.showprojects }}
- <a class="nav-item" href="/#projects">Projects</a> |
- {{ end }}
- {{ if .Site.Params.showallposts }}
- <a href="/#blog">Blog</a> |
- {{ else }}
- <a href="/blog">Blog</a> |
- {{ end }}
- <a class="nav-item" href="/#workwithme">Work With Me</a> |
- <a class="nav-item" href="/#contact">Contact</a>
- {{ if .Site.RSSLink }}
- <a class="nav-item" href="{{ .Site.RSSLink }}"><i class="fa fa-rss"></i></a>
- {{ end }}
- </nav>
- <hr>
- </div><!-- End Nav bar -->
+ <div class="container hero is-medium has-text-centered fade-in one"><!-- Begin Title -->
+ <h1 class="bold-title is-1">404</h1>
+ </div><!-- End Title -->
- <div class="container markdown fade-in two"><!-- Begin blurb -->
- Oops! Either you've found a bug (in which case, <a href="{{ .Site.Params.email }}">please tell me</a>) or you're just making things up. This page doesn't exist!
- </div><!-- End blurb -->
+<!-- Everything below fades in two! -->
+<div class="section fade-in two">
+ <div class="container"><!-- Begin Nav bar -->
+ {{ partial "nav-single.html" . }}
+ </div><!-- End Nav bar -->
+ <div class="container fade-in two top-pad"><!-- Begin blurb -->
+ Oops! Either you've found a bug (in which case, <a href="mailto:{{ .Site.Params.email }}">please tell me</a>) or you're just making things up. This page doesn't exist!
+ </div><!-- End blurb -->
+<div class="top-pad"><hr></div>
{{ partial "footer.html" . }}
</div><!-- End parent section --> \ No newline at end of file