-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
33 lines (29 loc) · 799 Bytes
/
Copy path404.html
File metadata and controls
33 lines (29 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
layout: default
permalink: 404.html
sitemap: false
title: 404 - Page Not Found
---
{% assign entries = site.pages | concat: site.posts | sort: 'url' %}
<h1>Gunk was here</h1>
<h2>But it looks like she's gone now</h2>
<p>Please visit one of the following pages instead:</p>
<ul>
{% for entry in entries %}
{% unless entry.url == '/404.html'
or entry.url == '/feed.xml'
or entry.url == '/redirects.json'
or entry.url == '/robots.txt'
or entry.url == '/sitemap.xml'
or entry.url contains '/assets/'
or entry.url contains '/meta/'
or entry.url contains '/drafts/'
%}
<li>
<a href="{{ entry.url | prepend: site.baseurl }}">
{{ entry.url }}
</a>
</li>
{% endunless %}
{% endfor %}
</ul>