mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-28 00:04:10 +02:00
Enable font-display: swap on Google Fonts
Should make the FOUT a thing of the past.
This commit is contained in:
parent
592a01f654
commit
acd4093fb1
@ -34,8 +34,8 @@
|
|||||||
%link{ rel: "preconnect", href: "https://fonts.googleapis.com" }
|
%link{ rel: "preconnect", href: "https://fonts.googleapis.com" }
|
||||||
%link{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: true }
|
%link{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: true }
|
||||||
|
|
||||||
%link{ rel: "stylesheet", href: "https://fonts.googleapis.com/css?family=Muli:400,700" }
|
= stylesheet_link_tag "//fonts.googleapis.com/css?family=Muli:400,700&display=swap"
|
||||||
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Source+Code+Pro:400,700'
|
= stylesheet_link_tag "//fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap"
|
||||||
- if legacy_version
|
- if legacy_version
|
||||||
= stylesheet_link_tag 'legacy'
|
= stylesheet_link_tag 'legacy'
|
||||||
- else
|
- else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user