Skip to content

Commit a001e78

Browse files
committed
fix(404): minor formatting & no JS support
1 parent 4b182d0 commit a001e78

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

overrides/404.html

+16-8
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ <h1>
88
404 - Not found
99
</h1>
1010
<p>This page does not exist or has been moved.
11-
<br><br>
12-
Please <a href="https://discord.atlasos.net" target="_blank" rel="noopener" title="AtlasOS Discord">contact us</a> or make a <a href="https://github.com/Atlas-OS/docs/compare/dev...master" target="_blank" rel="noopener noreferrer">pull request</a> if you think a redirect is necessary.</p>
13-
<a href="javascript:history.back()" class="md-button">
11+
<br>
12+
Please <a href="https://discord.atlasos.net" target="_blank" rel="noopener" title="AtlasOS Discord">contact us</a> or make a <a href="https://github.com/Atlas-OS/docs/pulls" target="_blank" rel="noopener noreferrer">pull request</a> if you think a redirect is necessary.</p>
13+
<span class="noJs">
14+
<a href="javascript:history.back()" class="md-button">
1415

15-
<span class="twemoji">
16-
{% include ".icons/material/arrow-left.svg" %}
17-
</span>
18-
Go Back
16+
<span class="twemoji">
17+
{% include ".icons/material/arrow-left.svg" %}
18+
</span>
19+
Go Back
1920

20-
</a>
21+
</a>
22+
</span>
2123
<a href="/" class="md-button">
2224
<span class="twemoji">
2325
{% include ".icons/material/home.svg" %}
@@ -26,4 +28,10 @@ <h1>
2628
</a>
2729
</div>
2830

31+
<script>
32+
var styleSheet = document.createElement("style")
33+
styleSheet.innerText = '.noJs { display: revert !important }'
34+
document.head.appendChild(styleSheet)
35+
</script>
36+
2937
{% endblock %}

0 commit comments

Comments
 (0)