diff --git a/public/_headers b/public/_headers
new file mode 100644
index 0000000..83801a1
--- /dev/null
+++ b/public/_headers
@@ -0,0 +1,2 @@
+/*.woff2
+ Cache-Control: public, max-age=31536000, immutable
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index b5629fc..09eeaa1 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -21,8 +21,12 @@ const isHome = Astro.url.pathname === "/";
{title ? `${title} - Andrew Brower` : "Andrew Brower"}
+
+
+
+
-
+
diff --git a/src/styles/global.css b/src/styles/global.css
index bcbd41e..90a2706 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -10,26 +10,30 @@
@font-face {
font-family: "Libre Baskerville";
src: url("/fonts/LibreBaskerville-Regular.woff2") format("woff2"),
- url("/fonts/LibreBaskerville-Regular.ttf") format("truetype");
+ url("/fonts/LibreBaskerville-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
- font-display: swap;
+ font-display: block;
}
@font-face {
font-family: "Libre Baskerville";
src: url("/fonts/LibreBaskerville-Bold.woff2") format("woff2"),
- url("/fonts/LibreBaskerville-Bold.ttf") format("truetype");
+ url("/fonts/LibreBaskerville-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
- font-display: swap;
+ font-display: block;
}
@font-face {
font-family: "Libre Baskerville";
src: url("/fonts/LibreBaskerville-Italic.woff2") format("woff2"),
- url("/fonts/LibreBaskerville-Italic.ttf") format("truetype");
+ url("/fonts/LibreBaskerville-Italic.ttf") format("truetype");
font-weight: 400;
font-style: italic;
- font-display: swap;
+ font-display: block;
}
+
+:root {
+ font-family: var(--font-display);
+}
\ No newline at end of file