We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9593dba + eb04395 commit e56f6daCopy full SHA for e56f6da
index.js
@@ -32,17 +32,8 @@ module.exports = {
32
33
contentFor: function(type) {
34
if (type === 'head') {
35
- const filesToPreload = [
36
- '/fonts/Inter-roman.var.woff2?v=3.11',
37
- '/fonts/Inter-Regular.woff2?v=3.11',
38
- '/fonts/Inter-SemiBold.woff2?v=3.11',
39
- '/fonts/Inter-ExtraLight-BETA.woff2?v=3.11',
40
- ];
41
-
42
// preload the most common fonts for modern browsers
43
- return filesToPreload
44
- .map(file => `<link rel="preload" as="font" type="font/woff2" href="${file}" crossorigin>`)
45
- .join('\n');
+ return `<link rel="preload" as="font" type="font/woff2" href="/fonts/Inter-roman.var.woff2?v=3.15" crossorigin>`;
46
}
47
48
return '';
0 commit comments