Skip to content

Commit

Permalink
Add 404.html (alshedivat#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohandebsarkar authored and semicolonsnet committed Oct 24, 2022
1 parent 553b23c commit ca29215
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: page
permalink: /404.html
title: "Page not found"
description: "Looks like there has been a mistake. Nothing exists here."
redirect: true
---

<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>
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>

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

0 comments on commit ca29215

Please sign in to comment.