Merge pull request #3989 from Matt-Yorkley/preload_primary_font

Preload primary font to speed up page rendering
This commit is contained in:
Luis Ramos
2019-07-08 17:43:15 +01:00
committed by GitHub

View File

@@ -13,6 +13,7 @@
- else
= favicon_link_tag "/favicon-staging.ico"
%link{href: "https://fonts.googleapis.com/css?family=Roboto:400,300italic,400italic,300,700,700italic|Oswald:300,400,700", rel: "stylesheet", type: "text/css"}
%link{href: "/OFN-v2.woff?eslsji", rel: "preload", as: "font", crossorigin: "anonymous"}
= yield :scripts
%script{:src => "https://js.stripe.com/v3/", :type => "text/javascript"}