1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00

Webfont loading best practice

leverage font-display CSS feature to ensure text is user-visible while loading
This commit is contained in:
Ryan L McIntyre 2019-07-19 19:10:39 -07:00 committed by GitHub
parent f680ddd885
commit 74067a3ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
<meta name="keywords" content="{{ site.keywords }}"> <meta name="keywords" content="{{ site.keywords }}">
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<link rel="stylesheet" href="combo.css"> <link rel="stylesheet" href="combo.css">
<link href='https://fonts.googleapis.com/css?family=Raleway:400,300,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Raleway:400,300,700&display=swap' rel='stylesheet' type='text/css'>
<link rel="canonical" href="https://nerdfonts.com" /> <link rel="canonical" href="https://nerdfonts.com" />
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
{% if site.favicon %}<link rel="shortcut icon" href="{{ site.favicon }}" type="image/x-icon">{% endif %} {% if site.favicon %}<link rel="shortcut icon" href="{{ site.favicon }}" type="image/x-icon">{% endif %}