Skip to content

Commit

Permalink
Change preload to prefetch for other language fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
theasteve committed Oct 2, 2020
1 parent 4c93206 commit eabe7d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wp-content/themes/access/views/partials/head.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-sans/NotoSans-Italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-serif/NotoSerif.woff2" as="font" type="font/woff2" crossorigin>
<!-- Urdu -->
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-ur/NotoNastaliqUrdu-Regular.ttf" as="font" type="font/ttf" crossorigin>
<link rel="prefetch" href="{{ theme.path }}/assets/fonts/noto-ur/NotoNastaliqUrdu-Regular.ttf" as="font" type="font/ttf" crossorigin>
<!-- Arabic -->
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-ar/NotoNaskhArabic-Regular.ttf" as="font" type="font/ttf" crossorigin>
<link rel="prefetch" href="{{ theme.path }}/assets/fonts/noto-ar/NotoNaskhArabic-Regular.ttf" as="font" type="font/ttf" crossorigin>
<!-- Korean -->
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-cjk-kr/NotoSansCJKkr-Regular.otf" as="font" type="font/otf" crossorigin>
<link rel="prefetch" href="{{ theme.path }}/assets/fonts/noto-cjk-kr/NotoSansCJKkr-Regular.otf" as="font" type="font/otf" crossorigin>
<!-- Chinese -->
<link rel="preload" href="{{ theme.path }}/assets/fonts/noto-cjk-tc/NotoSansCJKtc-Regular.otf" as="font" type="font/otf" crossorigin>
<link rel="prefetch" href="{{ theme.path }}/assets/fonts/noto-cjk-tc/NotoSansCJKtc-Regular.otf" as="font" type="font/otf" crossorigin>

<meta name="msapplication-TileColor" content="#112E51">
<meta name="msapplication-TileImage" content="{{ theme.path }}/assets/img/ms-icon-144x144.png">
Expand Down

0 comments on commit eabe7d8

Please sign in to comment.