diff --git a/package.json b/package.json index 630066ea..e5454083 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "8.2.4", + "version": "8.2.5", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index 01e5583c..cde97f29 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -8,8 +8,8 @@ {{ pageTitle }} - - + + {% capture css %} {% render "../assets/styles/partials/fonts.css" %} {% render "../assets/styles/partials/vars.css" %} diff --git a/src/assets/fonts/Poppins-Bold.min.woff2 b/src/assets/fonts/Poppins-Bold.min.woff2 new file mode 100644 index 00000000..6b43d3c6 Binary files /dev/null and b/src/assets/fonts/Poppins-Bold.min.woff2 differ diff --git a/src/assets/fonts/Poppins-Regular.min.woff2 b/src/assets/fonts/Poppins-Regular.min.woff2 new file mode 100644 index 00000000..a82284e9 Binary files /dev/null and b/src/assets/fonts/Poppins-Regular.min.woff2 differ diff --git a/src/assets/styles/partials/fonts.css b/src/assets/styles/partials/fonts.css index 847c1050..3d6b18e2 100644 --- a/src/assets/styles/partials/fonts.css +++ b/src/assets/styles/partials/fonts.css @@ -1,13 +1,13 @@ @font-face { font-family: Poppins; - src: url('/assets/fonts/Poppins-Bold.woff2') format("woff2"); + src: url('/assets/fonts/Poppins-Bold.min.woff2') format("woff2"); font-weight: 700; - font-display: swap; + font-display: optional } @font-face { font-family: Poppins; - src: url('/assets/fonts/Poppins-Regular.woff2') format("woff2"); + src: url('/assets/fonts/Poppins-Regular.min.woff2') format("woff2"); font-weight: 400; - font-display: swap; + font-display: optional } \ No newline at end of file