Skip to content

Commit

Permalink
add preload links for fonts and stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
havvg committed Jan 31, 2016
1 parent 38cfc48 commit 8d11ef7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _includes/layout/head.html
Expand Up @@ -20,6 +20,12 @@

<link rel="icon" type="image/png" href="/images/favicon.png" />

<link rel="preload" as="font" href="/typeface/opensans/400.woff" />
<link rel="preload" as="font" href="/typeface/opensans/700.woff" />

<link rel="preload" as="font" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0" />
<link rel="preload" as="style" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" />

<link rel="stylesheet" href="{{ "/css/font.css" | prepend: site.baseurl }}" />
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" />
Expand Down

0 comments on commit 8d11ef7

Please sign in to comment.