Skip to content

Commit 3901cac

Browse files
Refine imports and OpenGraphMeta handling in Head component, update font-family attributes in SVG text for safe fallbacks.
1 parent 35edab2 commit 3901cac

File tree

5 files changed

+44
-44
lines changed

5 files changed

+44
-44
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: 7 additions & 7 deletions
Loading

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

Lines changed: 9 additions & 9 deletions
Loading

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

Lines changed: 17 additions & 17 deletions
Loading

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

Lines changed: 8 additions & 8 deletions
Loading

0 commit comments

Comments
 (0)