Skip to content

Commit 19a1b0b

Browse files
authored
Merge pull request #765 from DuendeSoftware/image-font-fix
Fix SVG font images with safe fallbacks
2 parents 35edab2 + 8e8d2d8 commit 19a1b0b

File tree

5 files changed

+54
-53
lines changed

5 files changed

+54
-53
lines changed

src/components/Head.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
import { getImagePath } from "astro-opengraph-images";
33
import { Font } from "astro:assets";
4-
import Default from '@astrojs/starlight/components/Head.astro'
4+
import Default from "@astrojs/starlight/components/Head.astro";
55
66
const { url, site } = Astro;
77
const openGraphImageUrl = getImagePath({ url, site });
88
---
99

1010
<Default />
11-
{openGraphImageUrl && (<meta property="og:image" content={openGraphImageUrl} />)}
12-
<Font cssVariable="--font-roboto" preload />
11+
{openGraphImageUrl && <meta property="og:image" content={openGraphImageUrl} />}
12+
<Font cssVariable="--font-roboto" />

src/content/docs/identityserver/overview/images/application-architecture.svg

Lines changed: 10 additions & 10 deletions
Loading

src/content/docs/identityserver/overview/images/middleware.svg

Lines changed: 9 additions & 9 deletions
Loading

0 commit comments

Comments
 (0)