Skip to content

Commit b372052

Browse files
KianNHdaisyfaithauma
authored andcommitted
[Docs Site] Fix head tags after latest Starlight update (#22028)
* [Docs Site] Fix head tags after latest Starlight update * remove log
1 parent 6178b02 commit b372052

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/overrides/Head.astro

Lines changed: 1 addition & 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

0 commit comments

Comments
 (0)