_includes/head/common.html in askclass-news-theme-0.4.3 vs _includes/head/common.html in askclass-news-theme-0.5.0
- old
+ new
@@ -25,11 +25,16 @@
<meta name="twitter:site" content="{{ acn.social.twitter }}" />
<meta name="twitter:card" content="summary_large_image">
{% endif % %}
<link rel="manifest" href="/assets/site.webmanifest" />
- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family={{ families }}&display=swap" />
+ <link rel="preconnect" href="https://cdn.jsdelivr.net" />
+ <link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
+ <link rel='preconnect' href="https://fonts.googleapis.com" crossorigin />
+ <link rel="preload" as="style"
+ href="https://fonts.googleapis.com/css2?family={{ families }}&display=swap"
+ onload='this.onload=null;this.rel="stylesheet"' />
<link rel="shortcut icon" href="/assets/{{ acn.meta.shortcut.favicon }}" />
<link rel="icon" type="{{ acn.meta.shotcut.type }}" href="/assets/{{ acn.meta.shortcut.image }}" />
<link rel="icon" type="image/svg+xml" href="/assets/{{ acn.logo.image }}" />
<link rel="apple-touch-icon" href="/assets/{{ acn.meta.apple_icon }}" />