Skip to content

Commit

Permalink
tiny improve speed of fonts loading
Browse files Browse the repository at this point in the history
  • Loading branch information
fogrew committed Jan 4, 2020
1 parent bc927ce commit 87738e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ renderData.title or title or metadata.title }}</title>
<meta name="description" content="{{ renderData.description or description or metadata.description }}">
<link rel="preconnect" href="https://fonts.gstatic.com/">
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
<link href="https://fonts.googleapis.com/css?family=Lora:400..700|Source+Sans+Pro:400..700&display=swap&subset=cyrillic" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:600|Source+Sans+Pro:400,700&display=swap&subset=cyrillic">
<link rel="stylesheet" href="{{ '/css/prism-base16-monokai.dark.css' | url }}">
<link rel="shortcut icon" href="/favicon.png">
<link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml" title="{{ metadata.title }}">
Expand Down
2 changes: 1 addition & 1 deletion css/posts/_postlist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
padding: 0.25rem 0.1875rem; /* 4px 3px /16 */
}
.postlist-item-active .postlist-link {
font-weight: bold;
font-weight: 700;
}
.tmpl-home .postlist-link {
// font-size: 1.1875rem; /* 19px /16 */
Expand Down

0 comments on commit 87738e6

Please sign in to comment.