-
Notifications
You must be signed in to change notification settings - Fork 64
/
404.html
46 lines (40 loc) · 1.24 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
---
title: Page not found
jumbotron: credits
layout: default
permalink: 404.html
---
<script>
// Forum URL redirection
const urlParams = new URLSearchParams(window.location.search.slice(1));
if (urlParams.has('id')) {
// Convert to a number for security (only numeric values make sense anyway)
const topicId = Number(urlParams.get('id'));
window.location.replace(`https://forum.minetest.net/viewtopic.php?id=${topicId}`);
}
</script>
<section class="section">
<div class="container">
<div class="content">
<div class="columns is-centered">
<div class="column is-6">
<div class="has-text-centered">
<img
src="{{ '/media/unknown_node.jpg' | relative_url }}"
alt="Unknown node"
>
<h2>Sorry, we could not find that page!</h2>
<p>
<a href="{{ '/' | relative_url }}" class="has-text-weight-bold">Go to the homepage</a>
</p>
<p>
Please report any broken links on the
<a href="https://github.com/minetest/minetest.github.io/issues">
issues page for this website</a>.
</p>
</div>
</div>
</div>
</div>
</div>
</section>