Skip to content

Commit 22359f5

Browse files
author
Niklas Buschmann
committed
fix 404
1 parent 5e3f080 commit 22359f5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

404.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
permalink: /404.html
3+
title: "404: Page not found"
34
layout: default
5+
sitemap: false
46
---
57

68
<article>
7-
<h1>404</h1>
8-
<p>Page not found.</p>
9+
<header><h1>404</h1></header>
10+
<p>Page not found</p>
911
</article>

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{% unless site.navigation or site.external %}
2727
<nav>
2828
{% for page in site.pages %}
29-
{% if page.title %}
29+
{% if page.title and page.sitemap != false %}
3030
<a href="{{ page.url | relative_url }}">{{ page.title }}</a>
3131
{% endif %}
3232
{% endfor %}

0 commit comments

Comments
 (0)