kloeckner.com.ar

a backup of my entire webpage
Index Commits Files Refs README LICENSE
commit 1764d692a7f06dd5fb45601aff773799fcea9939
parent 4db260129cd160be84a85c88e36215a89637aa21
Author: mjkloeckner <martinjkloeckner@gmail.com>
Date:   Sun, 18 Feb 2024 01:20:27 -0300

Preload Google's Inconsolata font

Diffstat:
Mcommon/head.shtml | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/common/head.shtml b/common/head.shtml
@@ -5,7 +5,15 @@
 
 <link rel="preconnect" href="https://fonts.googleapis.com">
 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap" rel="stylesheet">
+<!-- <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap" as="font" type="font/woff2" crossorigin="anonymous"> -->
+<!-- <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap"> -->
+
+<link 
+    as="style"
+    rel="stylesheet preload prefetch" 
+    href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap" 
+    type="text/css" 
+    crossorigin="anonymous"/>
 
 <link rel='stylesheet' type='text/css' href="/css/style.css?ver=0.1">
 <link rel="icon" type="image/x-icon" href="favicon.png">