diff --git a/src/components/TroubleshootingList.astro b/src/components/TroubleshootingList.astro index 68c3eb4ac86578..c146f3ea06ce8a 100644 --- a/src/components/TroubleshootingList.astro +++ b/src/components/TroubleshootingList.astro @@ -50,9 +50,12 @@ const resources = await getCollection("docs", (entry) => { location.push(title); } + // Use the custom title from the `head` frontmatter, minus + // the product area suffix, if present. const title = - resource.data.head.find((x) => x.tag === "title")?.content ?? - resource.data.title; + resource.data.head + .find((x) => x.tag === "title") + ?.content.split(" ยท ")[0] ?? resource.data.title; return (