mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 14:30:01 +00:00
Fixed 404 page.
This commit is contained in:
parent
2661f0acb2
commit
2ffbba95df
1 changed files with 14 additions and 32 deletions
|
@ -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 class="container hero is-medium has-text-centered fade-in one"><!-- Begin Title -->
|
||||
<h1 class="bold-title is-1">404</h1>
|
||||
</div><!-- End Title -->
|
||||
|
||||
<!-- 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 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 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 -->
|
Loading…
Reference in a new issue