Skip to content

Commit 408424c

Browse files
ml7soumith
authored andcommittedJun 19, 2018
Added custom 404 page (#36)
Overrides default GitHub Pages 404 page now
1 parent 829c78b commit 408424c

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
 

‎404.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Oops!
3+
id: 404
4+
permalink: /404.html
5+
layout: about
6+
---
7+
8+
<!DOCTYPE html>
9+
<html>
10+
<head>
11+
<style type='text/css'>
12+
h4 {
13+
margin: 2em 0;
14+
}
15+
</style>
16+
</head>
17+
<body>
18+
<div style="text-align: center">
19+
<img src="/static/img/404_sign.png">
20+
21+
<h1>Oops!</h1>
22+
23+
<h4>You've reached a dead end.</h4>
24+
25+
<h4>
26+
If you feel like something should be here, you can
27+
<a target="_blank" href="https://github.com/pytorch/pytorch.github.io/issues/new">open an issue</a>
28+
on GitHub.
29+
</h4>
30+
31+
<h4>
32+
Click <a href="https://pytorch.org/">here</a> to go back to the main page.
33+
</h4>
34+
</div>
35+
</body>
36+
</html>

‎static/img/404_sign.png

17.3 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.