Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use logo as favicon
  • Loading branch information
sophie-h committed Jun 7, 2021
commit 3d07d82d59c3ab4d78acb4bea3ad201d9bc52c29
2 changes: 1 addition & 1 deletion _includes/crates.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
v{{crate.max_version}}
</td>
<td class="docs">
<a href="/{{crate.repo}}/stable/latest/docs">🕮</a>
<a href="/{{crate.repo}}/stable/latest/docs/{{ crate.name | replace: "-rs", "" }}">🕮</a>
</td>
</tr>
{% endfor %}
Expand Down
11 changes: 6 additions & 5 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{{ site.description }}">
<meta name="description" content="{{ site.description }}" />

<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}" />
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" />
</head>
3 changes: 1 addition & 2 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
display: inline-block;
height: 110px;
width: 110px;
border-radius: 50%;
background-image: url('/logo.svg');
content: '';
vertical-align: middle;
Expand Down Expand Up @@ -182,7 +181,7 @@ ul.contact {

a {
line-height: 2em;
display: flex;
display: inline-flex;
text-decoration: none;

svg {
Expand Down
Loading