We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad78443 commit 71d2246Copy full SHA for 71d2246
web/resources/404.html
@@ -1,6 +1,7 @@
1
<div id="not-found" style="display: none;">
2
<h1>Page not found</h1>
3
- <p>Error 404: The page you are looking for does not exist.</p>
+ <p><code id="pathname"></code></p>
4
+ <p><strong>The page you are looking for does not exist</strong> (Error 404)</p>
5
</div>
6
<script>
7
// Get the current path
@@ -17,6 +18,7 @@ <h1>Page not found</h1>
17
18
window.location.replace(newPath);
19
} else {
20
// Show the 'not-found' element if no redirect is needed
21
+ document.getElementById('pathname').textContent = path;
22
document.getElementById('not-found').style.display = 'block';
23
}
24
</script>
0 commit comments