Skip to content

Commit 8902520

Browse files
committed
[Docs Site] Fix head tags after latest Starlight update
1 parent 568ab1f commit 8902520

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/overrides/Head.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ const NOINDEX_PRODUCTS = ["email-security", "style-guide", "security"];
1111
1212
const currentSection = Astro.url.pathname.split("/")[1].replaceAll(".", "");
1313
14-
const entry = Astro.locals.starlightRoute.entry;
14+
const { entry, head } = Astro.locals.starlightRoute;
1515
const frontmatter = entry.data;
16-
const head = frontmatter.head;
1716
1817
const metaTags = [] as Record<string, string>[];
1918
@@ -161,6 +160,8 @@ metaTags.map((attrs) => {
161160
attrs,
162161
});
163162
});
163+
164+
console.log(head);
164165
---
165166

166167
<script src="src/scripts/footnotes.ts"></script>

0 commit comments

Comments
 (0)