Load css from CDN

This commit is contained in:
Lewis Dale 2023-05-10 22:05:05 +01:00
parent 505c83257e
commit bfa7e60cdb
2 changed files with 5 additions and 5 deletions

View File

@ -3,12 +3,12 @@
<head>
<title>{{ title | safe }} | {{ metadata.site.name }}</title>
{% if includeFA %}
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.lewisdale.dev/assets/css/fontawesome.css" />
{% endif %}
{% if includePrism %}
<link rel="stylesheet" type="text/css" href="/assets/css/prism.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.lewisdale.dev/assets/css/prism.css" />
{% endif %}
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.lewisdale.dev/assets/css/styles.css" />
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/" />
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom" />

View File

@ -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";
}