Skip to content

Commit

Permalink
fix 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Buschmann committed Jan 23, 2020
1 parent 5e3f080 commit 22359f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
permalink: /404.html
title: "404: Page not found"
layout: default
sitemap: false
---

<article>
<h1>404</h1>
<p>Page not found.</p>
<header><h1>404</h1></header>
<p>Page not found</p>
</article>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% unless site.navigation or site.external %}
<nav>
{% for page in site.pages %}
{% if page.title %}
{% if page.title and page.sitemap != false %}
<a href="{{ page.url | relative_url }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 22359f5

Please sign in to comment.