-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.html
87 lines (83 loc) · 3.4 KB
/
404.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | PyBlog</title>
<link rel="icon" type="image/x-icon" href="HomeImages/icon.png">
<link rel="stylesheet" type="text/css" href="style.css" media="screen and (min-width: 1200px)" />
<link rel="stylesheet" type="text/css" href="style-mobile.css" media="screen and (max-width: 1201px)" />
<style>
.container {
max-width: 800px;
margin: 0 auto;
padding: 50px;
text-align: center;
}
.container h1 {
font-size: 48px;
margin-bottom: 20px;
}
.container p {
font-size: 24px;
margin-bottom: 30px;
}
.container a {
color: gray;
text-decoration: none;
border-bottom: 2px solid #666;
padding-bottom: 2px;
}
.container a:hover {
border-bottom-color: #333;
}
</style>
<script>
const paths = {
'/home': '/Home',
'/blogs': '/Blogs',
'/blogs/creating-a-website-with-flask': '/Blogs/Creating-A-Website-With-Flask',
'/authors/itsbaileyx': '/Authors/ItsbaileyX',
'/authors/': '/Authors/',
'/authors/rangerrhino23': '/Authors/RangerRhino23',
'/blogs/deeper-exploration-of-tkinter': '/Blogs/Deeper-Exploration-of-Tkinter',
'/blogs/installing-python': '/Blogs/Installing-Python',
'/blogs/introduction-into-ursina': '/Blogs/Introduction-Into-Ursina',
'/blogs/making-a-chatbot-with-python': '/Blogs/Making-A-Chatbot-With-Python',
'/blogs/python-introduction': '/Blogs/Python-Introduction',
'/blogs/machine-learning-with-python': '/Blogs/Machine-Learning-With-Python',
'/blogs/using-sockets-for-networking': '/Blogs/Using-Sockets-For-Networking',
'/blogs/using-sockets-for-networking-2': '/Blogs/Using-Sockets-For-Networking-2',
'/blogs/the-history-of-python': '/Blogs/The-History-Of-Python',
'/blogs/types-of-modules-and-how-to-use-them': '/Blogs/Types-Of-Modules-And-Using-Them',
'/blogs/creating-minecraft-in-ursina': '/Blogs/Creating-Minecraft-In-Ursina',
'/blogs/python-fundamentals': '/Blogs/Python-Fundamentals'
};
const currentPage = window.location.pathname.toLowerCase();
if (paths.hasOwnProperty(currentPage)) {
const redirectPath = paths[currentPage];
window.location.replace(redirectPath);
}
</script>
</head>
<header>
</header>
<body style="min-height: 100vh;">
<script src="javascript/404DeviceDeterminator.js"></script>
<script src="javascript/search_result.js"></script>
<br><br><br>
<div class="container">
<h1>404 Page Not Found</h1>
<p>The page you are looking for does not exist.</p>
<p>Please check the URL or go to the <a href="https://PyBlog.ddns.net/Home">homepage</a>.</p>
<br><br>
<p>
Correct URL and webpage not responding?
<br>Contact us at:<br>
<a href="mailto:baileyleah542@gmail.com">ItsbaileyX - email</a><br>
<a href="mailto:RangerRhino23@outlook.com">RangerRhino - email</a>
</p>
</div>
</body>
</html>