Skip to content

Commit

Permalink
Add 404 and sitemap pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhkelly committed Nov 18, 2016
1 parent c084594 commit a16aa5e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: default
permalink: /404/
title: 404 - Page Not Found
class: NotFound
#active: portfolio
#excerpt: Ken has worked on many different type of projects with a focus on the self storage website niche.
---
<div class="page NotFound">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>404 - Page Not Found</h2>
<p>Sorry, the requested page is not found.</p>
<p>Maybe one of these pages will help you find what you are looking for.</p>
</div>
<div class="col-xs-12">
{% include sitemap.html %}
</div>
</div>
</div>
</div>
13 changes: 13 additions & 0 deletions _includes/sitemap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<ul>
<li><a href="/">Home</a></li>
<li><a href="/portfolio/">Portfolio</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/contact/">Contact</a></li>
</ul>

<h3>Posts</h3>
<ul>
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
20 changes: 20 additions & 0 deletions sitemap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: default
permalink: /sitemap/
title: Sitemap
class: Sitemap
#active: portfolio
#excerpt: Ken has worked on many different type of projects with a focus on the self storage website niche.
---
<div class="page Sitemap">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>Sitemap</h2>
</div>
<div class="col-xs-12">
{% include sitemap.html %}
</div>
</div>
</div>
</div>

0 comments on commit a16aa5e

Please sign in to comment.