Skip to content

Commit 3862b1b

Browse files
committed
Fix headers and footers
1 parent f119fb3 commit 3862b1b

File tree

2 files changed

+40
-45
lines changed

2 files changed

+40
-45
lines changed

templates/footer.html

Lines changed: 40 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,44 @@
11
<footer>
2-
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
3-
<div class="row">
4-
<div class="four columns mt3 mt0-l" id="get-help">
5-
<h4>Get help!</h4>
6-
<ul>
7-
<li><a href="https://doc.rust-lang.org" target="_blank" rel="noopener">Documentation</a></li>
8-
<li><a href="mailto:core-team@rust-lang.org">Contact the Rust Team</a></li>
9-
<li><a href="http://ping.rust-lang.org">Check Website Status</a></li>
10-
</ul>
11-
</div>
12-
<div class="four columns mt3 mt0-l">
13-
<h4>Terms and policies</h4>
14-
<ul>
15-
<li><a href="https://www.rust-lang.org/policies/code-of-conduct">Code of Conduct</a></li>
16-
<li><a href="https://www.rust-lang.org/policies/licenses">Licenses</a></li>
17-
<li><a href="https://www.rust-lang.org/policies/media-guide">Logo Policy and Media Guide</a></li>
18-
<li><a href="https://www.rust-lang.org/policies/security">Security Disclosures</a></li>
19-
<li><a href="https://www.rust-lang.org/policies">All Policies</a></li>
20-
</ul>
21-
</div>
22-
<div class="four columns mt3 mt0-l">
23-
<h4>Social</h4>
24-
<a href="https://twitter.com/rustlang" target="_blank" rel="noopener" alt="twitter link"><img src="/images/twitter.svg" alt="twitter logo" title="Twitter"/></a>
25-
<a href="https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA" target="_blank" rel="noopener" alt="youtube link"><img style="padding-top: 6px; padding-bottom:6px" src="/images/youtube.svg" alt="youtube logo" title="YouTube"/></a>
26-
<a href="https://discord.gg/rust-lang" target="_blank" rel="noopener" alt="discord link"><img src="/images/discord.svg" alt="discord logo" title="Discord"/></a>
27-
<a href="https://github.com/rust-lang" target="_blank" rel="noopener" alt="github link"><img src="/images/github.svg" alt="github logo" title="GitHub"/></a>
28-
</div>
2+
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
3+
<div class="row">
4+
<div class="four columns mt3 mt0-l" id="get-help">
5+
<h4>Get help!</h4>
6+
<ul>
7+
<li><a href="https://doc.rust-lang.org" target="_blank" rel="noopener">Documentation</a></li>
8+
<li><a href="mailto:core-team@rust-lang.org">Contact the Rust Team</a></li>
9+
<li><a href="http://ping.rust-lang.org">Check Website Status</a></li>
10+
</ul>
11+
</div>
12+
<div class="four columns mt3 mt0-l">
13+
<h4>Terms and policies</h4>
14+
<ul>
15+
<li><a href="https://www.rust-lang.org/policies/code-of-conduct">Code of Conduct</a></li>
16+
<li><a href="https://www.rust-lang.org/policies/licenses">Licenses</a></li>
17+
<li><a href="https://www.rust-lang.org/policies/media-guide">Logo Policy and Media Guide</a></li>
18+
<li><a href="https://www.rust-lang.org/policies/security">Security Disclosures</a></li>
19+
<li><a href="https://www.rust-lang.org/policies">All Policies</a></li>
20+
</ul>
21+
</div>
22+
<div class="four columns mt3 mt0-l">
23+
<h4>Social</h4>
24+
<a href="https://twitter.com/rustlang" target="_blank" rel="noopener" alt="twitter link">
25+
<img src="{{ get_url(path="images/twitter.svg") }}" alt="twitter logo" title="Twitter"/>
26+
</a>
27+
<a href="https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA" target="_blank" rel="noopener" alt="youtube link">
28+
<img src="{{ get_url(path="images/youtube.svg") }}" alt="youtube logo" title="YouTube" style="padding-top: 6px; padding-bottom:6px">
29+
</a>
30+
<a href="https://discord.gg/rust-lang" target="_blank" rel="noopener" alt="discord link">
31+
<img src="{{ get_url(path="images/discord.svg") }}" alt="discord logo" title="Discord"/>
32+
</a>
33+
<a href="https://github.com/rust-lang" target="_blank" rel="noopener" alt="github link">
34+
<img src="{{ get_url(path="images/github.svg") }}" alt="github logo" title="GitHub"/>
35+
</a>
36+
</div>
2937

38+
</div>
39+
<div class="attribution">
40+
Maintained by the Rust Team. See a typo?
41+
<a href="https://github.com/rust-lang/blog.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
42+
</div>
3043
</div>
31-
<div class="attribution">
32-
Maintained by the Rust Team. See a typo?
33-
<a href="https://github.com/rust-lang/blog.rust-lang.org" target="_blank" rel="noopener">Send a fix here</a>!
34-
</div>
35-
</div>
3644
</footer>
37-
38-
<!-- scripts -->
39-
<script src="/scripts/highlight.js"></script>

templates/headers.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@
1313
<meta property="og:type" content="website" />
1414
<meta property="og:locale" content="en_US" />
1515

16-
<!-- fonts -->
17-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/AlfaSlabOne-Regular.woff2") | safe }}">
18-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-ExtraBold.woff2") | safe }}">
19-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-ExtraBoldItalic.woff2") | safe }}">
20-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-Italic.woff2") | safe }}">
21-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-Italic.woff2") | safe }}">
22-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-Regular.woff2") | safe }}">
23-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-SemiBold.woff2") | safe }}">
24-
<link rel="preload" as="font" crossorigin href="{{ get_url(path="fonts/woff2/FiraSans-SemiBoldItalic.woff2") | safe }}">
25-
2616
<!-- styles -->
2717
<link rel="stylesheet" href="{{ get_url(path="styles/skeleton.css") | safe }}"/>
2818
<link rel="stylesheet" href="{{ get_url(path="styles/tachyons.css") | safe }}"/>

0 commit comments

Comments
 (0)