Skip to content

Commit c6d5aac

Browse files
rohandebsarkarpecey
authored andcommitted
Add 404.html (alshedivat#412)
1 parent 8da8eee commit c6d5aac

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

404.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: page
3+
permalink: /404.html
4+
title: "Page not found"
5+
description: "Looks like there has been a mistake. Nothing exists here."
6+
redirect: true
7+
---
8+
9+
<p>You will be redirected to the main page within 3 seconds. If not redirected, please click <a href="{{ site.baseurl | prepend: site.url }}/">here</a>.</p>

_layouts/default.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33

44
<head>
5+
{% if page.redirect %}<meta http-equiv="refresh" content="3; url={{ site.baseurl | prepend: site.url }}/" />{% endif %}
56
{% include head.html %}
67
{% include scripts/mathjax.html %}
78
</head>

0 commit comments

Comments
 (0)