-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path404.html
More file actions
37 lines (35 loc) · 1.64 KB
/
Copy path404.html
File metadata and controls
37 lines (35 loc) · 1.64 KB
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
---
layout: default
title: Not found
description: No proposal at this address.
permalink: /404.html
buttons: true
---
<script>
// GitHub Pages serves paths case-sensitively, so a mis-cased collection
// segment (e.g. "/MIPS/MIP-12" instead of "/MIPs/MIP-12") lands here as a
// 404. Normalise the leading segment to the canonical directory casing and
// redirect, preserving the rest of the path, the query string, and the hash.
(function () {
var canonical = { mips: "MIPs", mrcs: "MRCs" };
var path = window.location.pathname.replace(/^\/+/, "");
var slash = path.indexOf("/");
if (slash === -1) return;
var segment = path.slice(0, slash);
var fixed = canonical[segment.toLowerCase()];
if (fixed && fixed !== segment) {
window.location.replace(
"/" + fixed + path.slice(slash) + window.location.search + window.location.hash
);
}
})();
</script>
<main class="shell notfound">
<div class="code">404</div>
<h1>No proposal at this address.</h1>
<p>The MIP you requested has not been assigned a number, or the file was moved in the repository.</p>
<div class="actions">
<a class="btn btn-primary" href="{{ '/' | relative_url }}"><span class="shine grad-default"></span><span class="shine grad-hover"></span><span class="shine gleam-default"></span><span class="shine gleam-hover"></span><span class="lbl">Browse all proposals</span></a>
<a class="btn btn-secondary-light" href="https://github.com/monad-crypto/MIPs" target="_blank" rel="noopener noreferrer"><span class="shine grad-default"></span><span class="shine grad-hover"></span><span class="lbl">Open the repository</span></a>
</div>
</main>