File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ const base = import.meta.env.BASE_URL.endsWith('/') ? import.meta.env.BASE_URL :
1919 <link rel =" alternate icon" type =" image/x-icon" href ={ ` ${base }favicon.ico ` } />
2020 <meta name =" generator" content ={ Astro .generator } />
2121
22+ <!-- Preload and load Fira Code font optimally -->
23+ <link rel =" preconnect" href =" https://cdn.staticdelivr.com" crossorigin />
24+ <link rel =" preload" href =" https://cdn.staticdelivr.com/gfonts/css2?family=Fira+Code:wght@300..700&display=swap" as =" style" onload =" this .onload = null ;this .rel = ' stylesheet' " />
25+ <noscript ><link rel =" stylesheet" href =" https://cdn.staticdelivr.com/gfonts/css2?family=Fira+Code:wght@300..700&display=swap" /></noscript >
26+
2227 <title >{ title } </title >
2328 <meta name =" description" content ={ description } />
2429 <link rel =" canonical" href ={ canonicalURL } />
Original file line number Diff line number Diff line change 1- /* Fira Code: https://github.com/tonsky/FiraCode */
2- @import url ('https://cdn.staticdelivr.com/gfonts/css2?family=Fira+Code:wght@300..700&display=swap' );
1+ /* Fira Code font is loaded in HTML head for better performance */
32
43: root {
54 /* Light mode by default */
You can’t perform that action at this time.
0 commit comments