Skip to content
Permalink
Browse files
feat(typography): use dns-prefetch and preconnect to improve font loa…
…d time
  • Loading branch information
talha131 committed Feb 3, 2020
1 parent 1d62905 commit e4bd582858df6925bbc5c0dff59e62b1cd8c5390
Showing 1 changed file with 4 additions and 0 deletions.
@@ -4,6 +4,10 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans|PT+Serif|PT+Serif+Caption&display=swap" rel="stylesheet">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>

{% if CLAIM_GOOGLE %}
{% include '_includes/claim_google.html' with context %}
{% endif %}

0 comments on commit e4bd582

Please sign in to comment.