Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit ff175cf

Browse files
committed
Fix relative links on error page
This should fix the broken images and links on urls like: https://www.rust-lang.org/fail/
1 parent 767b09b commit ff175cf

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: _layouts/basic.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121

2222
<ul class="row menu">
2323
<li class="col-xs-12 col-md-2">
24-
<a href="index.html">
25-
<img class="img-responsive" src="logos/rust-logo-blk.svg" onerror="this.src='logos/rust-logo-256x256-blk.png'" height="128" width="128" alt="Rust logo" />
24+
<a href="/index.html">
25+
<img class="img-responsive" src="/logos/rust-logo-blk.svg" onerror="this.src='/logos/rust-logo-256x256-blk.png'" height="128" width="128" alt="Rust logo" />
2626
</a>
2727
</li>
2828
<li class="col-xs-12 col-md-10 menu">
29-
<h2><a href="documentation.html">Documentation</a></h2>
30-
<h2><a href="community.html">Community</a></h2>
31-
<h2><a href="downloads.html">Downloads</a></h2>
32-
<h2><a href="contribute.html">Contribute</a></h2>
29+
<h2><a href="/documentation.html">Documentation</a></h2>
30+
<h2><a href="/community.html">Community</a></h2>
31+
<h2><a href="/downloads.html">Downloads</a></h2>
32+
<h2><a href="/contribute.html">Contribute</a></h2>
3333
</li>
3434
</ul>
3535
</header>

Diff for: error.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
---
55
<div align="center">
66
<br>
7-
<img src="logos/error.png">
7+
<img src="/logos/error.png">
88
<br>
99
<br>
1010
<p>Something went terribly wrong!</p>

0 commit comments

Comments
 (0)