diff --git a/src/components/overrides/Head.astro b/src/components/overrides/Head.astro index 4deafbd0dad4d8e..a6fa9cd99f54c30 100644 --- a/src/components/overrides/Head.astro +++ b/src/components/overrides/Head.astro @@ -126,6 +126,17 @@ if (currentSection) { }); } } + + if (currentSection === "style-guide") { + Astro.props.entry.data.head.push({ + tag: "meta", + attrs: { + name: "robots", + content: "noindex", + }, + content: "", + }); + } } Astro.props.entry.data.description ??= await getPageDescription(