From bfa7e60cdb62e724fcc0d53457b6396460281eea Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Wed, 10 May 2023 22:05:05 +0100 Subject: [PATCH] Load css from CDN --- src/_includes/base.njk | 6 +++--- src/css/fonts/space_grotesk.css | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/_includes/base.njk b/src/_includes/base.njk index ec8b249..77a6e3f 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -3,12 +3,12 @@ {{ title | safe }} | {{ metadata.site.name }} {% if includeFA %} - + {% endif %} {% if includePrism %} - + {% endif %} - + diff --git a/src/css/fonts/space_grotesk.css b/src/css/fonts/space_grotesk.css index 9d1912f..c56d551 100644 --- a/src/css/fonts/space_grotesk.css +++ b/src/css/fonts/space_grotesk.css @@ -1,7 +1,7 @@ @font-face { font-family: 'Space Grotesk'; - src: url('https://lewisdale.b-cdn.net/assets/fonts/SpaceGrotestk.woff2') format('woff2 supports variations'), - url('https://lewisdale.b-cdn.net/assets/fonts/SpaceGrotesk.woff2') format('woff2-variations'); + src: url('/assets/fonts/SpaceGrotestk.woff2') format('woff2 supports variations'), + url('/assets/fonts/SpaceGrotesk.woff2') format('woff2-variations'); font-weight: 300 400 500 600 700; font-feature-settings: "liga", "ss03", "ss02", "ss01", "onum"; }