Use anonymous crossorigin to preload fonts

This commit is contained in:
Helen Chong 2024-12-25 23:58:14 +08:00
parent bf2b665b7a
commit ab8c3699ad
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@
<link rel="icon" type="image/svg+xml" href="{{ site.chyrp_url }}/favicon.svg"> <link rel="icon" type="image/svg+xml" href="{{ site.chyrp_url }}/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png">
<link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest"> <link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest">
<link rel="preload" href="/fonts/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/fonts/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="/fonts/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/fonts/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<style> <style>
@font-face { @font-face {
font-display: swap; font-display: swap;