8000 Add the Rust logo to the site heading. · bluss/blog.rust-lang.org@6628d47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6628d47

Browse files
committed
Add the Rust logo to the site heading.
1 parent 88d827e commit 6628d47

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: >
44
Words from the Rust team
55
baseurl: ""
66
url: "http://blog.rust-lang.org"
7+
logo: "http://www.rust-lang.org/logos/rust-logo-64x64-blk.png"
78
twitter_username: rustlang
89
github_username: rust-lang
910

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="wrapper">
44

5-
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
5+
<a class="site-title" href="{{ site.baseurl }}/"><img id="site-logo" src="{{ site.logo }}"/> {{ site.title }}</a>
66

77
<nav class="site-nav">
88
<a href="#" class="menu-icon">

_sass/_layout.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
position: relative;
1111
}
1212

13+
#site-logo {
14+
width: 48px;
15+
height: 48px;
16+
padding: 2px;
17+
}
18+
1319
.site-title {
1420
font-size: 26px;
1521
line-height: 56px;

0 commit comments

Comments
 (0)
0