Skip to content

Commit 9ebd9d6

Browse files
Merge pull request #563 from rust-lang/footer
feat(footer): add previous site link
2 parents 55936f7 + 26cec3b commit 9ebd9d6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/styles/app.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ footer {
291291
padding: 30px 0;
292292
background-color: black;
293293
color: white;
294+
p {
295+
margin: 0;
296+
}
294297
}
295298

296299
footer a {

templates/footer.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232

3333
</div>
3434
<div class="attribution">
35-
Maintained by the Rust Team. See a typo?
36-
<a href="https://github.com/rust-lang/beta.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
35+
<p>
36+
Maintained by the Rust Team. See a typo?
37+
<a href="https://github.com/rust-lang/beta.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
38+
</p>
39+
<p>Looking for the <a href="https://prev.rust-lang.org">previous website?</a></p>
3740
</div>
3841
</div>
3942
</footer>

templates/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Get started
1313
</a>
1414
<p class="tc f3 f2-l mt3">
15-
{{rust_version}}
15+
<a href="https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html">{{rust_version}}</a>
1616
</p>
1717
</div>
1818
</div>

0 commit comments

Comments
 (0)