Fix font asset URLs

This commit is contained in:
2023-11-25 13:51:26 -06:00
parent ce2e88f204
commit f76cff7266
2 changed files with 13 additions and 13 deletions

View File

@@ -24,9 +24,9 @@ console.log({ repository_url, build_revision, titleTag });
</title>
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link as="font" crossorigin href="/assets/fonts/-cmunrm.woff2" rel="preload">
<link as="font" crossorigin href="/assets/fonts/-cmuntt.woff2" rel="preload">
<link as="font" crossorigin href="/assets/fonts/-cmunti.woff2" rel="preload">
<link as="font" crossorigin href="/fonts/-cmunrm.woff2" rel="preload">
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload">
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload">
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
<!-- {page._preview_description and page.title or page.name == "index.html"} -->
<!-- <meta content="website" property="og:type"> -->

View File

@@ -13,9 +13,9 @@
}
}
@include font("fonts/cmunrm.woff2", "CMU Serif", normal, normal, U+0-10FFFF);
@include font("/fonts/cmunrm.woff2", "CMU Serif", normal, normal, U+0-10FFFF);
@include font(
"fonts/-cmunrm.woff2",
"/fonts/-cmunrm.woff2",
"CMU Serif",
normal,
normal,
@@ -32,9 +32,9 @@
U+2122,
U+1F4D6
);
@include font("fonts/cmunti.woff2", "CMU Serif", normal, italic, U+0-10FFFF);
@include font("/fonts/cmunti.woff2", "CMU Serif", normal, italic, U+0-10FFFF);
@include font(
"fonts/-cmunti.woff2",
"/fonts/-cmunti.woff2",
"CMU Serif",
normal,
italic,
@@ -51,9 +51,9 @@
U+2122,
U+1F4D6
);
@include font("fonts/cmunbx.woff2", "CMU Serif", bold, normal, U+0-10FFFF);
@include font("/fonts/cmunbx.woff2", "CMU Serif", bold, normal, U+0-10FFFF);
@include font(
"fonts/-cmunbx.woff2",
"/fonts/-cmunbx.woff2",
"CMU Serif",
bold,
normal,
@@ -70,9 +70,9 @@
U+2122,
U+1F4D6
);
@include font("fonts/cmunbi.woff2", "CMU Serif", bold, italic, U+0-10FFFF);
@include font("/fonts/cmunbi.woff2", "CMU Serif", bold, italic, U+0-10FFFF);
@include font(
"fonts/-cmunbi.woff2",
"/fonts/-cmunbi.woff2",
"CMU Serif",
bold,
italic,
@@ -90,14 +90,14 @@
U+1F4D6
);
@include font(
"fonts/cmuntt.woff2",
"/fonts/cmuntt.woff2",
"CMU Typewriter Text",
normal,
normal,
U+0-10FFFF
);
@include font(
"fonts/-cmuntt.woff2",
"/fonts/-cmuntt.woff2",
"CMU Typewriter Text",
normal,
normal,